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 8089d73 commit 058d298Copy full SHA for 058d298
tests/Query/AggregationBuilderTest.php
@@ -18,8 +18,6 @@
18
use MongoDB\Laravel\Tests\Models\User;
19
use MongoDB\Laravel\Tests\TestCase;
20
21
-use function is_array;
22
-
23
class AggregationBuilderTest extends TestCase
24
{
25
public function tearDown(): void
@@ -91,7 +89,7 @@ public function testAddRawStage(): void
91
89
$expected = [
92
90
['$match' => ['name' => 'John Doe']],
93
['$limit' => 10],
94
- ['$replaceRoot' => ['$newRoot' => '$$ROOT']],
+ ['$replaceRoot' => ['newRoot' => '$$ROOT']],
95
];
96
97
$this->assertSamePipeline($expected, $pipeline->getPipeline());
0 commit comments