Skip to content

Commit 8762274

Browse files
committed
Update RenameCollectionTest
1 parent b68e287 commit 8762274

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

tests/Operation/RenameCollectionTest.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,13 @@ class RenameCollectionTest extends TestCase
1313
public function testConstructorOptionTypeChecks(array $options): void
1414
{
1515
$this->expectException(InvalidArgumentException::class);
16-
new RenameCollection($this->getNamespace(), $this->getNamespace() . '.renamed', $options);
16+
new RenameCollection(
17+
$this->getDatabaseName(),
18+
$this->getCollectionName(),
19+
$this->getDatabaseName(),
20+
$this->getCollectionName() . '.renamed',
21+
$options
22+
);
1723
}
1824

1925
public function provideInvalidConstructorOptions()

0 commit comments

Comments
 (0)