aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2023-07-24 14:44:37 +0200
committerGitHub <noreply@github.com>2023-07-24 14:44:37 +0200
commit7548e62181832dca36fa1a6ad4ec715d71fe83e6 (patch)
tree7e117e97a4f2cce7c2a5612002c61249c5536df6 /tests
parent0411cc64aaaaa42ae23b4d5e216f16d481f20819 (diff)
parentb80692d323ed2bedec5593fa7ae94fdd02d7186c (diff)
downloadnextcloud-server-7548e62181832dca36fa1a6ad4ec715d71fe83e6.tar.gz
nextcloud-server-7548e62181832dca36fa1a6ad4ec715d71fe83e6.zip
Merge pull request #39506 from nextcloud/techdebt/39488/ensure-index-name-uniqueness
feat(db): Ensure that index names are unique across the database
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([]);