Skip to content

Commit

Permalink
fixing tets
Browse files Browse the repository at this point in the history
  • Loading branch information
ThaDafinser committed Aug 31, 2015
1 parent 5ca1fc0 commit 72821c9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/ZfcDatagridTest/Column/Action/ButtonTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public function testConstruct()

$this->assertEquals([
'href' => '#',
'class' => 'btn',
'class' => 'btn btn-default',
], $button->getAttributes());
}

Expand All @@ -27,7 +27,7 @@ public function testLabelAndToHtml()
$button->setLabel('My label');
$this->assertEquals('My label', $button->getLabel());

$html = '<a href="#" class="btn">My label</a>';
$html = '<a href="#" class="btn btn-default">My label</a>';
$this->assertEquals($html, $button->toHtml([]));
}

Expand All @@ -41,7 +41,7 @@ public function testColumnLabelAndToHtml()
$button->setLabel($col);
$this->assertInstanceOf('ZfcDatagrid\Column\AbstractColumn', $button->getLabel());

$html = '<a href="#" class="btn">Blubb</a>';
$html = '<a href="#" class="btn btn-default">Blubb</a>';
$this->assertEquals($html, $button->toHtml(['myCol' => 'Blubb']));
}

Expand Down

0 comments on commit 72821c9

Please sign in to comment.