mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-10-02 08:28:41 -04:00
small unit testing improvements, removing never accessed code
This commit is contained in:
parent
c918a9fe2e
commit
134d22c958
3 changed files with 12 additions and 16 deletions
|
@ -91,4 +91,13 @@ class RainTPLTest extends PHPUnit_Framework_TestCase
|
|||
'outputs version correctly'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @expectedException RainTpl_Exception
|
||||
*/
|
||||
public function testMissingTemplate()
|
||||
{
|
||||
$test = new RainTPL;
|
||||
$test->draw('123456789 does not exist!');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue