Refactor asket_adapter

This commit is contained in:
Romain Neutron
2011-12-28 20:04:39 +01:00
parent bfa8e851c6
commit 646db61ca7
39 changed files with 749 additions and 3623 deletions

View File

@@ -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();