Open thomaslorentsen opened 7 years ago
When testing domains, the JSON strings fails to be decoded in PHP7
1) RoundPartner\Test\Unit\Domain\DomainTest::testUpdateSubDomain with data set #0 ('[{\n "nameservers" : [ {\n ....."\n}]', 200) OpenCloud\Common\Exceptions\JsonError: Syntax error /home/travis/build/roundpartner/cloud/vendor/rackspace/php-opencloud/lib/OpenCloud/Common/Http/Message/Formatter.php:48 /home/travis/build/roundpartner/cloud/vendor/rackspace/php-opencloud/lib/OpenCloud/Common/Http/Message/Formatter.php:32 /home/travis/build/roundpartner/cloud/vendor/rackspace/php-opencloud/lib/OpenCloud/DNS/Resource/AbstractResource.php:37 /home/travis/build/roundpartner/cloud/src/Domain/Domain.php:85 /home/travis/build/roundpartner/cloud/src/Domain/Domain.php:71 /home/travis/build/roundpartner/cloud/src/Domain/Domain.php:59 /home/travis/build/roundpartner/cloud/tests/Unit/DNS/DomainTest.php:63
Fixed by https://github.com/rackspace/php-opencloud/pull/712
When testing domains, the JSON strings fails to be decoded in PHP7