Browse Source

Also fix the opposite method.

Mark Scherer 11 years ago
parent
commit
20e75d48c2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/TestSuite/IntegrationTestCase.php

+ 1 - 1
src/TestSuite/IntegrationTestCase.php

@@ -561,7 +561,7 @@ abstract class IntegrationTestCase extends TestCase
         if (!$this->_response) {
             $this->fail('No response set, cannot assert content. ' . $message);
         }
-        $this->assertNotContains($content, $this->_response->body(), $message);
+        $this->assertNotContains($content, (string)$this->_response->body(), $message);
     }
 
     /**