Skip to content

Commit 98ce585

Browse files
committed
Use correct field name in createSearchIndex assertion
1 parent f0be7e0 commit 98ce585

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/UnifiedSpecTests/Operation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ private function executeForCollection(Collection $collection)
537537
);
538538

539539
case 'createSearchIndex':
540-
assertArrayHasKey('models', $args);
540+
assertArrayHasKey('model', $args);
541541
assertIsObject($args['model']);
542542
assertObjectHasAttribute('definition', $args['model']);
543543
assertInstanceOf(stdClass::class, $args['model']->definition);

0 commit comments

Comments
 (0)