diff --git a/tests/RecordedEndpointPageTest.php b/tests/RecordedEndpointPageTest.php index e1b966a..a28d574 100644 --- a/tests/RecordedEndpointPageTest.php +++ b/tests/RecordedEndpointPageTest.php @@ -24,14 +24,14 @@ expect($propertyKeys)->toBeInstanceOf(\Illuminate\Support\Collection::class); expect($propertyKeys)->toHaveCount(16); - + // dd($propertyKeys); foreach ($propertyKeys as $propertyKey) { $id = $databaseStructure->getProperty($propertyKey)->getId(); $property = \Notion::page('f1884dca3885460e93f52bf4da7cce8e')->property($id); - match($propertyKey){ + match ($propertyKey) { 'Rollup' => dd($property->asCollection()) && expect($property->asCollection()->first())->toBeInstanceOf(Rollup::class), // default => throw new \Exception('Unknown property key') default => null