Browse Source
Fix tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
pull/10553/head
Roeland Jago Douma
8 years ago
No known key found for this signature in database
GPG Key ID: F941078878347C0C
1 changed files with
3 additions and
2 deletions
-
tests/lib/DB/MigrationsTest.php
|
|
|
@ -102,12 +102,13 @@ class MigrationsTest extends \Test\TestCase { |
|
|
|
->method('migrateToSchema'); |
|
|
|
|
|
|
|
$wrappedSchema = $this->createMock(Schema::class); |
|
|
|
$wrappedSchema->expects($this->once()) |
|
|
|
// TODO re-enable once stable14 is branched of: https://github.com/nextcloud/server/issues/10518
|
|
|
|
/*$wrappedSchema->expects($this->once()) |
|
|
|
->method('getTables') |
|
|
|
->willReturn([]); |
|
|
|
$wrappedSchema->expects($this->once()) |
|
|
|
->method('getSequences') |
|
|
|
->willReturn([]); |
|
|
|
->willReturn([]);*/ |
|
|
|
|
|
|
|
$schemaResult = $this->createMock(SchemaWrapper::class); |
|
|
|
$schemaResult->expects($this->once()) |
|
|
|
|