aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/DB/MigrationsTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/DB/MigrationsTest.php b/tests/lib/DB/MigrationsTest.php
index b7d49b565ac..d982a47623b 100644
--- a/tests/lib/DB/MigrationsTest.php
+++ b/tests/lib/DB/MigrationsTest.php
@@ -101,10 +101,10 @@ class MigrationsTest extends \Test\TestCase {
->method('migrateToSchema');
$wrappedSchema = $this->createMock(Schema::class);
- $wrappedSchema->expects($this->once())
+ $wrappedSchema->expects($this->exactly(2))
->method('getTables')
->willReturn([]);
- $wrappedSchema->expects($this->once())
+ $wrappedSchema->expects($this->exactly(2))
->method('getSequences')
->willReturn([]);