diff --git a/tests/.AYAHTest.php.swp b/tests/.AYAHTest.php.swp new file mode 100644 index 0000000..17cefe1 Binary files /dev/null and b/tests/.AYAHTest.php.swp differ diff --git a/tests/.bootstrap.php.swp b/tests/.bootstrap.php.swp new file mode 100644 index 0000000..647672c Binary files /dev/null and b/tests/.bootstrap.php.swp differ diff --git a/tests/.phpunit.xml.swp b/tests/.phpunit.xml.swp new file mode 100644 index 0000000..3a26aba Binary files /dev/null and b/tests/.phpunit.xml.swp differ diff --git a/tests/AYAHTest.php b/tests/AYAHTest.php new file mode 100644 index 0000000..acb2232 --- /dev/null +++ b/tests/AYAHTest.php @@ -0,0 +1,50 @@ + '01f70454bada303692be5f36a8fd104eba8b00dd', + 'scoring_key' => '80cc3f9c6e1da29369c238d55bd8528a968473ad', + ]; + + private $ayah; + + public function setUp() + { + $this->ayah = new AYAH($this->config); + $this->ayah->debug_mode(false); + } + + public function testInstanceOf() + { + $this->assertInstanceOf('AYAH', $this->ayah); + } + + public function testGetPublisherHTML() + { + $this->assertRegExp( + '/
<\/div>