New test classes
Forgot to commit them it seems.
This commit is contained in:
parent
ff226a3cf9
commit
dd2e6994fa
2 changed files with 90 additions and 0 deletions
24
tests/classes/API/AYAHTest.php
Normal file
24
tests/classes/API/AYAHTest.php
Normal file
|
@ -0,0 +1,24 @@
|
|||
<?php
|
||||
|
||||
class API_AYAHTest extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
/**
|
||||
* @expectedException Exception
|
||||
* @expectedExceptionMessage Missing API configuration
|
||||
*/
|
||||
public function testGetHTMLMissingConfig()
|
||||
{
|
||||
API_AYAH::getHTML();
|
||||
}
|
||||
|
||||
/**
|
||||
* @expectedException Exception
|
||||
* @expectedExceptionMessage Missing API configuration
|
||||
*/
|
||||
public function testIsHumanMissingConfig()
|
||||
{
|
||||
API_AYAH::isHuman();
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
Loading…
Add table
Add a link
Reference in a new issue