mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 07:23:13 +00:00
Refactor ServiceBuilder
This commit is contained in:
@@ -829,7 +829,7 @@ abstract class PhraseanetPHPUnitAbstract extends WebTestCase
|
||||
, $confService
|
||||
);
|
||||
|
||||
$this->app['Core']["Twig"] = $templateServiceBuilder->getService();
|
||||
$this->app['Core']["Twig"] = $templateServiceBuilder->getDriver();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -30,7 +30,7 @@ class userTest extends PhraseanetPHPUnitAbstract
|
||||
$this->assertFalse(User_Adapter::get_usr_id_from_email(null));
|
||||
try
|
||||
{
|
||||
$appbox = appbox::get_instance();
|
||||
$appbox = appbox::get_instance(\bootstrap::getCore());
|
||||
|
||||
self::$user->set_email(null);
|
||||
|
||||
|
Reference in New Issue
Block a user