Skip to content
Snippets Groups Projects
Commit 51f67e7f authored by Patrick Barroca's avatar Patrick Barroca :grin:
Browse files

revert too fast fixture update

parent 849181fe
Branches
Tags
2 merge requests!258Dev/13872 Orphee Allow Hold Available Items,!7Multiple Skin Dirs
......@@ -25,9 +25,14 @@ abstract class TelephoneAbstractControllerTestCase extends AbstractControllerTes
public function setUp() {
parent::setUp();
$_SERVER['HTTP_USER_AGENT'] = 'iPhone';
$this->fixture('Class_Profil', ['id' => 2,
Storm_Test_ObjectWrapper::onLoaderOfModel('Class_Profil')
->whenCalled('findFirstBy')
->with(['BROWSER' => 'telephone'])
->answers(Class_Profil::getCurrentProfil()->beTelephone());
/* $this->fixture('Class_Profil', ['id' => 2,
'browser' => 'telephone'])
->beCurrentProfil();
->beCurrentProfil();*/
}
public function tearDown() {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment