Skip to content
This repository has been archived by the owner on Jan 6, 2022. It is now read-only.

Commit

Permalink
Add skeleton load integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Jones committed Sep 12, 2013
1 parent 184cae8 commit f6ddbe4
Showing 1 changed file with 69 additions and 0 deletions.
69 changes: 69 additions & 0 deletions src/MageConfigSync/Tests/Integration/LoadIntegrationTest.php
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");
}
}

0 comments on commit f6ddbe4

Please sign in to comment.