summaryrefslogtreecommitdiffstats
path: root/test/unit
Commit message (Collapse)AuthorAgeFilesLines
* Optional automatic retry on 5xxEwan Dennis2017-07-051-0/+76
|
* refactored testsAvi Goldman2017-01-051-94/+79
|
* added tests for debug requestsAvi Goldman2017-01-042-1/+27
|
* Test cleanup (#137)Tobias Nyholm2016-08-264-80/+7
| | | | | | | | | | | | | | | | * Test cleanup * Make travis run again * Composer update * Install PHPunit * Removed composer.lock * Added composer.lock and drop support for php 5.5 * Update .travis.yml
* Updating examples (#139)Avi Goldman2016-08-251-0/+25
| | | | | | | | | | | | | | | | * added example of getting transmission by ID * updated example messages and added example with recipient list and template * fixed lib to work with recipient lists * fixed lib to work with recipient lists * added test covering recipient list * added message event example * added template examples
* Bump version, update changelog2.0.2Avi Goldman2016-07-281-1/+1
|
* Remove dependency from Guzzle (#131)Tobias Nyholm2016-07-273-23/+51
| | | | | | | | | | * Remove dependency form Guzzle * Fixed borken tests * Added more tests * make sure we require httplug as well.
* formatting and commentsAvi Goldman2016-06-223-94/+75
|
* wrote tests to cover Resource and Transmission classesAvi Goldman2016-06-211-0/+187
|
* Merged FAD-3148 into 2.xAvi Goldman2016-06-207-638/+366
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * FAD-3148 basic non-functioning base class * FAD-3148 a bit more functionality in the base class * FAD-3148 added custom promise class and custom response class. Did good things to SparkPost class * Updated Transmission.php for new refactor, still WIP. Created Resource.php as a parent class for all future resources. * Removed test functions * Cleaned up Transmissions.php according to PSR-2, deleted more test code and comments. * added sync and aysnc, cleaned up code * added support for async/sync option * added support for async/sync option * Added interns to authors * simplified the request function * added comments * added user agent * added comments in SparkPostPromise * added comments in SparkPostException * added comments in SparkPostResponse * cleaning up test * updated composer.json and contributing files for testing * Ran php-cs-fixer * testing for sparkpost response class * updated to newer version of guzzle * updated to newer version of guzzle * Cleaned up getUrl and other functions * cleaned up constructor and overrode getCode with getResponse()->getStatusCode() * fixed up then method * cleaned up getBody * deleted old test * Wrote total coverage tests for SparkPost class * commented out setting up transmissions endpoint until merging with FAD-3146
* Add php-cs-fixer as composer script and make initial fix-style runJason Rhodes2016-05-038-613/+675
| | | | | | * Add php-cs-fixer as composer script * Make initial fix-style run * Fix indentation on all files * Add editorconfig file
* Return extended exception dataRichard Leland2016-05-031-0/+6
| | | | | | | | | * Update examples to show available extra exception methods * Resolves #83 * Update 403s to pass back extended exception data Fixes #83
* Merge pull request #69 from j4m3s/ISSUE-58Jordan Nornhold2016-05-023-0/+106
|\ | | | | Message Events
| * Rename MessageEvent to plural, update docblocks.James Fellows2016-04-261-1/+1
| |
| * Add unit tests for Message Events::documentation and ::samplesJames Fellows2016-04-041-0/+26
| |
| * Add unit test for startTime object formattingJames Fellows2016-04-041-0/+16
| |
| * Add tests for new MessageEvent DateTime handlingJames Fellows2016-04-041-0/+45
| |
| * Message Event mocked tests passJames Fellows2016-04-031-5/+10
| |
| * Initial commit adding MessageEvent supportJames Fellows2016-03-311-0/+14
| |
* | Improve Exception message on 403 response (#71)James Fellows2016-04-191-0/+15
|/ | | Fixes #70.
* Add unit test for APIResponseExceptionzaporylie2016-03-131-0/+36
|
* Fix test coveragezaporylie2016-03-081-0/+2
|
* removed test, because it's not needed after added strong-typing to the ↵danil zakablukovskii2016-02-281-10/+3
| | | | 'setHttpAdapter' method
* Updated unit testsbeardyman2016-02-232-3/+14
|
* Added ability to pass in api key as a configbeardyman2015-10-101-0/+6
|
* removed unhittable code and removed a unit test for it. Updated code ↵beardyman2015-10-071-5/+0
| | | | coverage filters in phpunit.xml to ignore test files because a utility function wasn't being used
* replaced tabs with two spaces. normalized quotesbeardyman2015-10-034-173/+173
|
* Removed all tabs and replaced them with two spacesbeardyman2015-10-024-8/+7
|
* Updated tests for new structurebeardyman2015-09-303-65/+106
|
* Finished tests and docsbeardyman2015-09-252-144/+213
|
* started cleaning up tests to reflect the new changesbeardyman2015-09-224-241/+77
|
* finished code updates/refactoring updated examples and began refactoring testsbeardyman2015-09-162-123/+188
|
* Fixed failing unit test - added ability to unset configmapril2015-09-021-0/+1
|
* added base object, test and examplemapril2015-08-211-0/+144
|
* refactored code base for extensibilitymapril2015-08-211-2/+2
|
* MA-1084 #time 5m fixed test and updated composer.locknornholdj2014-11-141-1/+1
|
* MA-1084 #time 1h Implemented better exception handling and added unitnornholdj2014-11-142-4/+31
| | | tests for said exception handling
* MA-1084 #time 30m added function docs and started reviewnornholdj2014-11-131-2/+2
|
* MA-1084 #time 1h updated tests and compatibilitynornholdj2014-11-133-47/+37
|
* MA-1084 #time 3h updated to be usable with php 5.3nornholdj2014-11-124-16/+178
|
* Updated SparkPost References and updated docs and mappings to reflectnornholdj2014-11-102-6/+6
| | | updated config lists.
* MA-946 #time 20m updated test comments and updated SparkPost defaultnornholdj2014-11-042-13/+1
| | | hostname
* MA-946 #time 1h reviewed and updated function docs and other commentsnornholdj2014-11-032-10/+26
|
* MA-946 #time 3h 30m Revamped Transmission object to be stateless,nornholdj2014-10-312-167/+46
| | | updated tests and examples.
* MA-946 #time 1h 30m updated readme file for parity with the node-sdknornholdj2014-10-302-0/+0
|
* MA-946 #time 10h Updated examples and tested. Updated Documentation. Setup ↵nornholdj2014-10-283-17/+193
| | | | composer inclusion testing.
* MA-946 #time 2h Wrote Configuration Unit tests.nornholdj2014-10-222-0/+65
|
* MA-946 #time 6h finished adding node-sdk function parity. Started on unit ↵nornholdj2014-10-221-0/+65
tests and setup test code coverage.