diff options
Diffstat (limited to 'tests/jsonapi/StructuralElementsShowTest.php')
| -rw-r--r-- | tests/jsonapi/StructuralElementsShowTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/jsonapi/StructuralElementsShowTest.php b/tests/jsonapi/StructuralElementsShowTest.php index 231a449..8cc168a 100644 --- a/tests/jsonapi/StructuralElementsShowTest.php +++ b/tests/jsonapi/StructuralElementsShowTest.php @@ -32,7 +32,7 @@ class StructuralElementsShowTest extends \Codeception\Test\Unit $this->assertTrue($response->isSuccessfulDocument([200])); $document = $response->document(); - $this->assertSame($structuralElement->id, $document->primaryResource()->id()); + $this->assertEquals($structuralElement->id, $document->primaryResource()->id()); $this->assertFalse($document->hasAnyIncludedResources()); } @@ -45,7 +45,7 @@ class StructuralElementsShowTest extends \Codeception\Test\Unit $this->assertTrue($response->isSuccessfulDocument([200])); $document = $response->document(); - $this->assertSame($structuralElement->id, $document->primaryResource()->id()); + $this->assertEquals($structuralElement->id, $document->primaryResource()->id()); $this->assertTrue($document->hasAnyIncludedResources()); $includedResources = $document->includedResources(); |
