bannersTest.php: remove obsolete test
This commit is contained in:
parent
1f574254f0
commit
b0724259e7
1 changed files with 0 additions and 24 deletions
|
@ -1,24 +0,0 @@
|
|||
<?php
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
ob_start();
|
||||
require_once "banners.php";
|
||||
ob_end_clean();
|
||||
|
||||
final class bannersTest extends TestCase
|
||||
{
|
||||
public function testBanners(){
|
||||
|
||||
$expected = '<a href="banners/lain-bottom.png"><img src="banners/lain-bottom.png" alt="lain-bottom.png" style="width:348px;height:128px"></a> ';
|
||||
|
||||
//capture input
|
||||
ob_start();
|
||||
listBannersInDir("banners");
|
||||
$output = ob_get_contents();
|
||||
ob_end_clean();
|
||||
//end input
|
||||
|
||||
//assertion
|
||||
$this->assertEquals($output,$expected);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue