mirror of
https://github.com/hauke68/Magallanes.git
synced 2026-09-04 08:28:57 +02:00
General tests cleanup
This commit is contained in:
@@ -31,12 +31,6 @@ class CompileCommandTest extends BaseTest
|
||||
*/
|
||||
private $iniGetValue;
|
||||
|
||||
/**
|
||||
* @var Mock
|
||||
*/
|
||||
private $iniGetMock;
|
||||
|
||||
|
||||
/**
|
||||
* @before
|
||||
*/
|
||||
@@ -46,12 +40,12 @@ class CompileCommandTest extends BaseTest
|
||||
|
||||
$this->iniGetValue = new FixedValueFunction();
|
||||
$mockBuilder = new MockBuilder();
|
||||
$this->iniGetMock = $mockBuilder->setNamespace('Mage\Command\BuiltIn')
|
||||
$iniGetMock = $mockBuilder->setNamespace('Mage\Command\BuiltIn')
|
||||
->setName("ini_get")
|
||||
->setCallableProvider($this->iniGetValue)
|
||||
->build();
|
||||
$this->iniGetMock->disable();
|
||||
$this->iniGetMock->enable();
|
||||
$iniGetMock->disable();
|
||||
$iniGetMock->enable();
|
||||
|
||||
$this->setUpConsoleStatics();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user