mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 09:53:15 +00:00
PHRAS-315 Do not expose not downloadable subdef
This commit is contained in:

committed by
Benoît Burnichon

parent
9b6e20c6c5
commit
cd85d4fdf9
@@ -1052,7 +1052,6 @@ abstract class ApiTestCase extends \PhraseanetWebTestCase
|
||||
$embedTypes = array_flip(array_map(function($subdef) {return $subdef['name'];}, $content['response']['embed']));
|
||||
|
||||
//access to all subdefs
|
||||
$this->assertArrayHasKey('document', $embedTypes);
|
||||
$this->assertArrayHasKey('preview', $embedTypes);
|
||||
$this->assertArrayHasKey('thumbnail', $embedTypes);
|
||||
|
||||
|
Reference in New Issue
Block a user