Skip to content

Commit

Permalink
Add additional disabled tests & doc blocks.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Jan 15, 2014
1 parent 5f51652 commit 9bf5c3e
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/TestCase/View/Input/CheckboxTest.php
Expand Up @@ -23,6 +23,11 @@
*/
class CheckboxTest extends TestCase {

/**
* setup method.
*
* @return void
*/
public function setUp() {
parent::setUp();
$templates = [
Expand Down
8 changes: 8 additions & 0 deletions tests/TestCase/View/Input/MultiCheckboxTest.php
Expand Up @@ -23,6 +23,11 @@
*/
class MultiCheckboxTest extends TestCase {

/**
* setup method.
*
* @return void
*/
public function setUp() {
parent::setUp();
$templates = [
Expand Down Expand Up @@ -203,6 +208,9 @@ public function testRenderDisabled() {
];
$this->assertTags($result, $expected);

$data['disabled'] = ['1', '1x'];
$this->assertTags($result, $expected);

$data = [
'name' => 'Tags[id]',
'options' => [
Expand Down
5 changes: 5 additions & 0 deletions tests/TestCase/View/Input/RadioTest.php
Expand Up @@ -24,6 +24,11 @@
*/
class RadioTest extends TestCase {

/**
* setup method.
*
* @return void
*/
public function setUp() {
parent::setUp();
$templates = [
Expand Down
5 changes: 5 additions & 0 deletions tests/TestCase/View/Input/SelectBoxTest.php
Expand Up @@ -23,6 +23,11 @@
*/
class SelectBoxTest extends TestCase {

/**
* setup method.
*
* @return void
*/
public function setUp() {
parent::setUp();
$templates = [
Expand Down

0 comments on commit 9bf5c3e

Please sign in to comment.