diff options
Diffstat (limited to 'tests/ControllerTest.php')
-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"); } /** |