fix unit tests for collection/media tests

This commit is contained in:
Dennis Eichhorn 2020-03-31 18:24:11 +02:00
parent e89b3efb32
commit fc58cbd075
3 changed files with 3 additions and 1 deletions

View File

@ -83,7 +83,7 @@ trait ApiControllerCollectionTrait
$this->module->apiCollectionCreate($request, $response);
$collection = $response->get('')['response'];
self::assertEquals('Test Collection', $collection);
self::assertEquals('Test Collection', $collection->getName());
self::assertCount(2, $collection->getSources());
}
}

View File

@ -0,0 +1 @@
Media/Collection Test 1

View File

@ -0,0 +1 @@
Media/Collection Test 2