Refactor Appbox

This commit is contained in:
Romain Neutron
2012-02-21 16:25:07 +01:00
parent 48cf1af785
commit 0a85cf2c32
6 changed files with 17 additions and 17 deletions

View File

@@ -23,7 +23,7 @@ class ApplicationLightboxTest extends PhraseanetWebTestCaseAuthenticatedAbstract
{
parent::setUp();
$this->client = $this->createClient();
$appbox = appbox::get_instance();
$appbox = appbox::get_instance(\bootstrap::getCore());
$this->feed = Feed_Adapter::create($appbox, self::$user, "salut", 'coucou');
$publisher = array_shift($this->feed->get_publishers());
$this->entry = Feed_Entry_Adapter::create($appbox, $this->feed, $publisher, 'title', "sub Titkle", " jean pierre", "jp@test.com");