summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtests/library/SSRS/Object/CatalogItemsTest.php6
-rwxr-xr-xtests/library/SSRS/ReportTest.php2
-rwxr-xr-xtests/library/SSRS/Soap/NTLMTest.php4
-rwxr-xr-xtests/phpunit.xml19
4 files changed, 25 insertions, 6 deletions
diff --git a/tests/library/SSRS/Object/CatalogItemsTest.php b/tests/library/SSRS/Object/CatalogItemsTest.php
index a62d9e6..e50df39 100755
--- a/tests/library/SSRS/Object/CatalogItemsTest.php
+++ b/tests/library/SSRS/Object/CatalogItemsTest.php
@@ -1,8 +1,8 @@
<?php
-require_once('library/SSRS/Object/Abstract.php');
-require_once('library/SSRS/Object/CatalogItems.php');
-require_once('library/SSRS/Object/CatalogItem.php');
+require_once('SSRS/Object/Abstract.php');
+require_once('SSRS/Object/CatalogItems.php');
+require_once('SSRS/Object/CatalogItem.php');
/**
* Description of CatalogItemsTest
diff --git a/tests/library/SSRS/ReportTest.php b/tests/library/SSRS/ReportTest.php
index a0e1245..6177c14 100755
--- a/tests/library/SSRS/ReportTest.php
+++ b/tests/library/SSRS/ReportTest.php
@@ -1,6 +1,6 @@
<?php
-require_once(dirname(__FILE__) . '/../../../library/SSRS/Report.php');
+require_once('SSRS/Report.php');
class SSRS_ReportTest extends PHPUnit_Framework_TestCase {
diff --git a/tests/library/SSRS/Soap/NTLMTest.php b/tests/library/SSRS/Soap/NTLMTest.php
index 15c0fef..b3116f6 100755
--- a/tests/library/SSRS/Soap/NTLMTest.php
+++ b/tests/library/SSRS/Soap/NTLMTest.php
@@ -10,8 +10,8 @@
*
* @author Andrew Lowe
*/
-require_once('library/SSRS/Soap/NTLM.php');
-require_once('library/SSRS/Soap/Exception.php');
+require_once('SSRS/Soap/NTLM.php');
+require_once('SSRS/Soap/Exception.php');
require_once('vfsStream/vfsStream.php');
class SSRS_Soap_NTLMTest extends PHPUnit_Framework_TestCase {
diff --git a/tests/phpunit.xml b/tests/phpunit.xml
new file mode 100755
index 0000000..91278c2
--- /dev/null
+++ b/tests/phpunit.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0"?>
+<phpunit
+ strict="true"
+ stopOnError="false"
+ stopOnFailure="false"
+ stopOnIncomplete="false"
+ stopOnSkipped="false"
+ colors="false"
+ verbose="true"
+ >
+ <testsuites>
+ <testsuite name="SSRS">
+ <directory>.</directory>
+ </testsuite>
+ </testsuites>
+ <php>
+ <includePath>../library</includePath>
+ </php>
+</phpunit> \ No newline at end of file