Commit Graph

10 Commits

Author SHA1 Message Date
Kleis Auke Wolthuizen
e1864a6824 Drop unneeded arguments 2017-11-21 17:52:59 +01:00
Kleis Auke Wolthuizen
0920fc48b2 Remove unnecessary double quotes 2017-11-21 17:25:41 +01:00
Junade Ali
d49028a31e Updated DNSTest style. 2017-10-03 18:09:07 +01:00
Anthony Sterling
db62f1db8a Added test coverage for DNS Update
I've added a test to cover the updating of a DNS record to help debug Issue #19
2017-10-02 08:48:43 +01:00
Anthony Sterling
fbb5aac074 Moved JSON API Responses to test fixtures
This PR moves the JSON API responses used in the tests to fixture files
within the tests folder. This allows reuse and the ability to lint/validate
these fixtures if required - although not covered in this PR.

I've added TestCase::getPsr7StreamForFixture and TestCase::getPsr7JsonResponseForFixture
to reduce code duplication and enable some assertions around the expected fixures/responses.

Thanks,
2017-09-24 15:24:33 +01:00
Anthony Sterling
2faff272df Applied PSR2 formatting to existing files 2017-09-23 18:50:51 +01:00
Adam Malone
7d838d7f5f Adds the query parameter to the guzzle call for GET requests. 2017-09-21 11:45:21 +10:00
Junade Ali
7d0c0c86dc COM-40 :: General refactoring/fixes. 2017-09-04 21:14:34 +01:00
Junade Ali
3b028041a6 Additional DNS API coverage, PHPUnit whitelist and license added. 2017-08-22 16:28:05 +01:00
Junade Ali
6176cd81a3 Added extra endpoints. 2017-06-09 16:18:24 +01:00