This repository has been archived by the owner on Jan 6, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Nick Jones
committed
Sep 12, 2013
1 parent
184cae8
commit f6ddbe4
Showing
1 changed file
with
69 additions
and
0 deletions.
There are no files selected for viewing
69 changes: 69 additions & 0 deletions
69
src/MageConfigSync/Tests/Integration/LoadIntegrationTest.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
<?php | ||
|
||
namespace MageConfigSync\Tests\Integration; | ||
|
||
use MageConfigSync\Application; | ||
use MageConfigSync\Magento; | ||
use Symfony\Component\Console\Tester\CommandTester; | ||
use Symfony\Component\Yaml\Parser; | ||
|
||
class LoadIntegrationTest extends \PHPUnit_Framework_TestCase { | ||
|
||
/** @var CommandTester */ | ||
protected $_commandTester; | ||
protected $_commandName = 'load'; | ||
|
||
/** @var Magento */ | ||
protected $_magento; | ||
|
||
protected $_magentoRoot; | ||
|
||
public function setUp() | ||
{ | ||
parent::setUp(); | ||
|
||
$application = new Application(); | ||
$command = $application->find($this->_commandName); | ||
|
||
$this->_commandTester = new CommandTester($command); | ||
|
||
$this->_magentoRoot = __DIR__ . "/../../../../magento/"; | ||
$this->_magento = new Magento($this->_magentoRoot); | ||
} | ||
|
||
/** | ||
* @test | ||
* @group integration | ||
*/ | ||
public function testNoEnvNoUpdate() | ||
{ | ||
$this->markTestSkipped("Need to implement disabling of Magento cache for tests"); | ||
} | ||
|
||
/** | ||
* @test | ||
* @group integration | ||
*/ | ||
public function testNoEnvUpdate() | ||
{ | ||
$this->markTestSkipped("Need to implement disabling of Magento cache for tests"); | ||
} | ||
|
||
/** | ||
* @test | ||
* @group integration | ||
*/ | ||
public function testEnvNoUpdate() | ||
{ | ||
$this->markTestSkipped("Need to implement disabling of Magento cache for tests"); | ||
} | ||
|
||
/** | ||
* @test | ||
* @group integration | ||
*/ | ||
public function testEnvUpdate() | ||
{ | ||
$this->markTestSkipped("Need to implement disabling of Magento cache for tests"); | ||
} | ||
} |