Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add additional test for empty.

  • Loading branch information...
commit 0cb86ec3c09b859bbcd6e1b3a19e062a65e90618 1 parent b783966
@markstory markstory authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 Test/TestCase/View/Input/SelectBoxTest.php
View
4 Test/TestCase/View/Input/SelectBoxTest.php
@@ -210,6 +210,10 @@ public function testRenderEmptyOption() {
'/select'
];
$this->assertTags($result, $expected);
+
+ $data['value'] = false;
+ $result = $select->render($data);
+ $this->assertTags($result, $expected);
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.