We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c773be2 commit 3f30502Copy full SHA for 3f30502
tests/SchemaTest.php
@@ -114,11 +114,11 @@ public function testSparse()
114
{
115
Schema::collection('newcollection', function($collection)
116
117
- $collection->background('backgroundkey');
+ $collection->sparse('sparsekey');
118
});
119
120
- $index = $this->getIndex('newcollection', 'backgroundkey');
121
- $this->assertEquals(1, $index['background']);
+ $index = $this->getIndex('newcollection', 'sparsekey');
+ $this->assertEquals(1, $index['sparse']);
122
}
123
124
public function testExpire()
0 commit comments