Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add tests for Radio options and string disabled.

  • Loading branch information...
commit 49299f7f43262c257d3b39d6d2ff5f2abca456f3 1 parent e52f824
Mark Story markstory authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 tests/TestCase/View/Widget/RadioTest.php
4 tests/TestCase/View/Widget/RadioTest.php
View
@@ -446,6 +446,10 @@ public function testRenderDisabled() {
];
$this->assertTags($result, $expected);
+ $data['disabled'] = 'a string';
+ $result = $radio->render($data);
+ $this->assertTags($result, $expected);
+
$data['disabled'] = ['1'];
$result = $radio->render($data);
$expected = [
Please sign in to comment.
Something went wrong with that request. Please try again.