Skip to content

Commit 981d794

Browse files
committed
fix: phpunit
1 parent 7ed5d70 commit 981d794

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Unit/Resources/JsonApiResourceTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ public function toType(Request $request): string
166166

167167
$this->assertInstanceOf(JsonApiCollection::class, $collection);
168168
$this->assertEquals($resource::class, $collection->collects);
169-
$this->assertFalse(property_exists($collection, 'preserveKeys'));
169+
$this->assertNull($collection->preserveKeys);
170170
}
171171

172172
public function testToCollectionPreserveKeys()

0 commit comments

Comments
 (0)