Skip to content

Commit 2950792

Browse files
authored
Update FeatureResponseTest.php
1 parent 897a572 commit 2950792

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/system/Test/FeatureResponseTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ public function testInvalidJSON()
251251
$this->response->setBody($tmp);
252252

253253
// this should be FALSE - invalid JSON - will see if this is working that way ;-)
254-
$this->assertFalse(json_encode(' test " case ') == $this->feature->getJSON());
254+
$this->assertFalse($this->response->getBody() == $this->feature->getJSON());
255255
}
256256

257257
public function testGetXML()

0 commit comments

Comments
 (0)