squash! PHPUnit : adapt to new version
This commit is contained in:
parent
650afcfd89
commit
a9f74e0191
1 changed files with 7 additions and 0 deletions
|
|
@ -44,6 +44,8 @@ class Acc_BilanTest extends TestCase
|
|||
public function testDisplay_form()
|
||||
{
|
||||
$r=$this->object->display_form();
|
||||
$this->assertStringStartsWith('<input type="hidden" id="gDossier" name="gDossier" value=',$r);
|
||||
$this->assertStringEndsWith('</TABLE>',$r);
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -53,7 +55,12 @@ class Acc_BilanTest extends TestCase
|
|||
*/
|
||||
public function testVerify()
|
||||
{
|
||||
ob_start();
|
||||
$this->object->verify();
|
||||
$r=ob_get_contents();
|
||||
ob_end_clean();
|
||||
|
||||
$this->assertStringStartsWith('<h3>',$r);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue