diff --git a/tests/src/Functional/JsonApiFunctionalToJsonTest.php b/tests/src/Functional/JsonApiFunctionalToJsonTest.php index d6a4403..72d69ba 100644 --- a/tests/src/Functional/JsonApiFunctionalToJsonTest.php +++ b/tests/src/Functional/JsonApiFunctionalToJsonTest.php @@ -13,16 +13,6 @@ class JsonApiFunctionalToJsonTest extends JsonApiFunctionalTestBase { /** - * {@inheritdoc} - */ - protected function setUp() { - parent::setUp(); - - drupal_flush_all_caches(); - $this->drupalGet(''); - } - - /** * Check the output of the system service. */ public function testService() { @@ -44,7 +34,7 @@ public function testService() { // Make sure that the JSON output is actually valid. $this->assertFalse(isset($json['errors'])); - $this->assertEquals(Json::decode($raw), $json); + $this->assertEquals($raw, Json::encode($json)); $this->assertNotEquals($raw, $json); }