summaryrefslogtreecommitdiffstats
path: root/test/unit/MessageEventTest.php
Commit message (Collapse)AuthorAgeFilesLines
* Merged FAD-3148 into 2.xAvi Goldman2016-06-201-74/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-031-56/+59
| | | | | | * Add php-cs-fixer as composer script * Make initial fix-style run * Fix indentation on all files * Add editorconfig file
* 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 tests for new MessageEvent DateTime handlingJames Fellows2016-04-041-0/+45