Skip to content

Commit

Permalink
Add skips to bake related tests.
Browse files Browse the repository at this point in the history
Bake isn't going to be functional until the model changes are done.
Skip these tests for now.
  • Loading branch information
markstory committed Sep 28, 2012
1 parent a703f61 commit 8333cc7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
11 changes: 3 additions & 8 deletions lib/Cake/Test/TestCase/Console/Command/Task/ModelTaskTest.php
@@ -1,11 +1,5 @@
<?php
/**
* ModelTaskTest file
*
* Test Case for test generation shell task
*
* PHP 5
*
* CakePHP : Rapid Development Framework (http://cakephp.org)
* Copyright 2005-2012, Cake Software Foundation, Inc.
*
Expand All @@ -14,7 +8,6 @@
*
* @copyright Copyright 2005-2012, Cake Software Foundation, Inc.
* @link http://cakephp.org CakePHP Project
* @package Cake.Test.Case.Console.Command.Task
* @since CakePHP v 1.2.6
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/
Expand All @@ -30,7 +23,7 @@
/**
* ModelTaskTest class
*
* @package Cake.Test.Case.Console.Command.Task
* @package Cake.Test.Case.Console.Command.Task
*/
class ModelTaskTest extends TestCase {

Expand All @@ -50,6 +43,8 @@ class ModelTaskTest extends TestCase {
* @return void
*/
public function setUp() {
$this->markTestIncomplete('Model baking will not work as models do not work.');

parent::setUp();
$out = $this->getMock('Cake\Console\ConsoleOutput', array(), array(), '', false);
$in = $this->getMock('Cake\Console\ConsoleInput', array(), array(), '', false);
Expand Down
2 changes: 2 additions & 0 deletions lib/Cake/Test/TestCase/Console/Command/Task/ViewTaskTest.php
Expand Up @@ -226,6 +226,8 @@ class ViewTaskTest extends TestCase {
*/
public function setUp() {
parent::setUp();
$this->markTestIncomplete('Model baking will not work as models do not work.');

$out = $this->getMock('Cake\Console\ConsoleOutput', array(), array(), '', false);
$in = $this->getMock('Cake\Console\ConsoleInput', array(), array(), '', false);

Expand Down

0 comments on commit 8333cc7

Please sign in to comment.