diff --git a/.travis.yml b/.travis.yml index 03ea145..bf070f0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,5 @@ -language: php -php: - - 5.5 - - 5.4 +language: php +php: + - 5.5 + - 5.4 - 5.3 \ No newline at end of file diff --git a/phpunit.xml b/phpunit.xml index 568c34c..066829b 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,7 +1,7 @@ - - - - test - - + + + + test + + \ No newline at end of file diff --git a/test/baseTest.php b/test/baseTest.php index 78b6e35..fc50712 100644 --- a/test/baseTest.php +++ b/test/baseTest.php @@ -1,14 +1,14 @@ -assertEquals ("?db=0", addURLParameter ("?", "db", "0")); - $this->assertEquals ("?key=value&db=0", addURLParameter ("?key=value", "db", "0")); - $this->assertEquals ("?key=value&otherKey=&db=0", addURLParameter ("?key=value&otherKey", "db", "0")); - } +assertEquals ("?db=0", addURLParameter ("?", "db", "0")); + $this->assertEquals ("?key=value&db=0", addURLParameter ("?key=value", "db", "0")); + $this->assertEquals ("?key=value&otherKey=&db=0", addURLParameter ("?key=value&otherKey", "db", "0")); + } } \ No newline at end of file diff --git a/test/config_test.php b/test/config_test.php index d2f03ce..824e18b 100644 --- a/test/config_test.php +++ b/test/config_test.php @@ -1,4 +1,4 @@ -