Fix travis tests

This commit is contained in:
Xavier Rousset
2017-12-13 19:14:47 +01:00
parent 1683191d19
commit 3a6f2eb365
3 changed files with 12 additions and 4 deletions

View File

@@ -83,7 +83,7 @@ class SubdefsTest extends \PhraseanetAuthenticatedWebTestCase
$subdefs = new \databox_subdefsStructure($app->findDataboxById($this->databox_id), $app['translator']);
$subdef = $subdefs->get_subdef("image", $name);
/* @var $subdef \databox_subdef */
$this->assertFalse($subdef->is_downloadable());
$this->assertFalse($subdef->isDownloadable());
$options = $subdef->getOptions();
$this->assertTrue(is_array($options));
$this->assertEquals(400, $options[Image::OPTION_SIZE]->getValue());