Browse Source

fix(tests): Adjust unit tests to outline the schema is checked twice now

Signed-off-by: Joas Schilling <coding@schilljs.com>
tags/v28.0.0beta1
Joas Schilling 11 months ago
parent
commit
b80692d323
No account linked to committer's email address
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      tests/lib/DB/MigrationsTest.php

+ 2
- 2
tests/lib/DB/MigrationsTest.php View File

@@ -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([]);


Loading…
Cancel
Save