Skip to content

Commit

Permalink
stub
Browse files Browse the repository at this point in the history
  • Loading branch information
nadar committed Jun 3, 2021
1 parent 1f9bca0 commit ba4dcde
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/admin/base/RadioPropertyTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,13 @@
namespace luya\admin\tests\admin\base;

use admintests\AdminTestCase;
use luya\admin\base\CheckboxArrayProperty;
use luya\admin\base\CheckboxProperty;
use luya\admin\base\RadioProperty;

class RadioPropertyTest extends AdminTestCase
{
public function testDefaultAdminValue()
{
$prop = new StubCheckoxArrayProperty();
$prop = new StubRadioProperty();

$this->assertSame(false, $prop->defaultValue());

Expand All @@ -25,7 +23,7 @@ public function testDefaultAdminValue()
}
}

class StubCheckoxArrayProperty extends RadioProperty
class StubRadioProperty extends RadioProperty
{
public function varName()
{
Expand Down

0 comments on commit ba4dcde

Please sign in to comment.