diff options
author | minstel <minstel@yandex.ru> | 2016-10-20 16:44:45 +0300 |
---|---|---|
committer | minstel <minstel@yandex.ru> | 2016-10-20 16:44:45 +0300 |
commit | 0a9ddd37a309c2a2b5106d02e36da978374f1155 (patch) | |
tree | d9a536c4a585dff3b5a4b7d73d9df83eb0a91c93 | |
parent | 5ed5b76550fe8d0a2ec75f75db8cfc7ae71d43c1 (diff) | |
download | controller-0a9ddd37a309c2a2b5106d02e36da978374f1155.zip controller-0a9ddd37a309c2a2b5106d02e36da978374f1155.tar.gz controller-0a9ddd37a309c2a2b5106d02e36da978374f1155.tar.bz2 |
Minor fix
-rw-r--r-- | tests/ControllerTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/ControllerTest.php b/tests/ControllerTest.php index 53a122a..625fa30 100644 --- a/tests/ControllerTest.php +++ b/tests/ControllerTest.php @@ -108,8 +108,8 @@ class ControllerTest extends PHPUnit_Framework_TestCase $expect = $data->asXML(); } - $this->assertNotEmpty($result); - $this->assertEquals($expect, $result); + $this->assertNotEmpty($result, "Result should not be empty"); + $this->assertEquals($expect, $result, "Data was not encoded correctly"); } /** @@ -172,7 +172,7 @@ class ControllerTest extends PHPUnit_Framework_TestCase $expect = $data->asXML(); } - $this->assertNotEquals($expect, $result); + $this->assertNotEquals($expect, $result, "Data should not be encoded correctly here"); } /** |