mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-16 14:33:14 +00:00
Refactor asket_adapter
This commit is contained in:
@@ -27,10 +27,8 @@ class Module_Prod_Route_TooltipTest extends PhraseanetWebTestCaseAuthenticatedAb
|
||||
public function testRouteBasket()
|
||||
{
|
||||
$appbox = appbox::get_instance();
|
||||
$basketcoll = new basketCollection($appbox, self::$user->get_id());
|
||||
$basket_coll = $basketcoll->get_baskets();
|
||||
|
||||
$basket = array_shift($basket_coll['baskets']);
|
||||
$basket = $this->insertOneBasket();
|
||||
|
||||
$crawler = $this->client->request('POST', '/tooltip/basket/' . $basket->getId() . '/');
|
||||
$pageContent = $this->client->getResponse()->getContent();
|
||||
|
Reference in New Issue
Block a user