Skip to content

Commit

Permalink
Remove admin tests.
Browse files Browse the repository at this point in the history
Admin prefixes will be handled elsewhere now.
  • Loading branch information
markstory committed Mar 20, 2014
1 parent ebc6152 commit 0a6d094
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions tests/TestCase/Console/Command/Task/ControllerTaskTest.php
Expand Up @@ -214,13 +214,6 @@ public function testBakeActions() {
$result = $this->Task->bakeActions('BakeArticles');
$expected = file_get_contents(CORE_TESTS . 'bake_compare/Controller/Actions.ctp');
$this->assertTextEquals($expected, $result);

$result = $this->Task->bakeActions('BakeArticles', 'admin_', true);
$this->assertContains('function admin_index() {', $result);
$this->assertContains('function admin_add()', $result);
$this->assertContains('function admin_view($id = null)', $result);
$this->assertContains('function admin_edit($id = null)', $result);
$this->assertContains('function admin_delete($id = null)', $result);
}

/**
Expand Down

0 comments on commit 0a6d094

Please sign in to comment.