diff options
author | Joas Schilling <coding@schilljs.com> | 2023-07-21 12:17:36 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2023-07-21 12:17:36 +0200 |
commit | b80692d323ed2bedec5593fa7ae94fdd02d7186c (patch) | |
tree | 6d8b5cf2ab1cd8168b0638821a3627e97a8faac3 /tests | |
parent | 0bf738d8cb13d48725f9632ddd642e7cf81f5624 (diff) | |
download | nextcloud-server-b80692d323ed2bedec5593fa7ae94fdd02d7186c.tar.gz nextcloud-server-b80692d323ed2bedec5593fa7ae94fdd02d7186c.zip |
fix(tests): Adjust unit tests to outline the schema is checked twice now
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/DB/MigrationsTest.php | 4 |
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([]); |