mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
Fix tests
This commit is contained in:
@@ -166,7 +166,7 @@ class LightboxTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
|
||||
$this->set_user_agent(self::USER_AGENT_IPHONE, self::$DI['app']);
|
||||
|
||||
$crawler = self::$DI['client']->request('GET', '/lightbox/ajax/LOAD_FEED_ITEM/' . $entry->getId() . '/' . $item->getId() . '/');
|
||||
self::$DI['client']->request('GET', '/lightbox/ajax/LOAD_FEED_ITEM/' . $entry->getId() . '/' . $item->getId() . '/');
|
||||
$this->assertEquals(200, self::$DI['client']->getResponse()->getStatusCode());
|
||||
$this->assertNotEquals('application/json', self::$DI['client']->getResponse()->headers->get('Content-type'));
|
||||
}
|
||||
|
Reference in New Issue
Block a user