tests/src/Functional/ResourceTestBase.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/src/Functional/ResourceTestBase.php b/tests/src/Functional/ResourceTestBase.php index 37304ca..e5b8e55 100644 --- a/tests/src/Functional/ResourceTestBase.php +++ b/tests/src/Functional/ResourceTestBase.php @@ -1693,8 +1693,7 @@ abstract class ResourceTestBase extends BrowserTestBase { // its body unconditionally. if (static::$entityTypeId !== 'taxonomy_term') { $decoded_response_body = Json::decode((string) $response->getBody()); - // @todo remove the casts before comitting this! - $this->assertSame(static::castToString($created_entity_document), static::castToString($decoded_response_body)); + $this->assertSame($created_entity_document, $decoded_response_body); } // Assert that the entity was indeed created using the POSTed values. foreach ($this->getPostDocument()['data']['attributes'] as $field_name => $field_normalization) {