Fix line ending / encoding. re #96
This commit is contained in:
parent
c994cf789f
commit
a8dccf1ea5
|
@ -1,5 +1,5 @@
|
||||||
language: php
|
language: php
|
||||||
php:
|
php:
|
||||||
- 5.5
|
- 5.5
|
||||||
- 5.4
|
- 5.4
|
||||||
- 5.3
|
- 5.3
|
12
phpunit.xml
12
phpunit.xml
|
@ -1,7 +1,7 @@
|
||||||
<phpunit>
|
<phpunit>
|
||||||
<testsuites>
|
<testsuites>
|
||||||
<testsuite name="COPS">
|
<testsuite name="COPS">
|
||||||
<directory>test</directory>
|
<directory>test</directory>
|
||||||
</testsuite>
|
</testsuite>
|
||||||
</testsuites>
|
</testsuites>
|
||||||
</phpunit>
|
</phpunit>
|
|
@ -1,14 +1,14 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
require_once (dirname(__FILE__) . "/config_test.php");
|
require_once (dirname(__FILE__) . "/config_test.php");
|
||||||
require_once (dirname(__FILE__) . "/../base.php");
|
require_once (dirname(__FILE__) . "/../base.php");
|
||||||
|
|
||||||
class StackTest extends PHPUnit_Framework_TestCase
|
class StackTest extends PHPUnit_Framework_TestCase
|
||||||
{
|
{
|
||||||
public function testAddURLParameter ()
|
public function testAddURLParameter ()
|
||||||
{
|
{
|
||||||
$this->assertEquals ("?db=0", addURLParameter ("?", "db", "0"));
|
$this->assertEquals ("?db=0", addURLParameter ("?", "db", "0"));
|
||||||
$this->assertEquals ("?key=value&db=0", addURLParameter ("?key=value", "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"));
|
$this->assertEquals ("?key=value&otherKey=&db=0", addURLParameter ("?key=value&otherKey", "db", "0"));
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,4 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
$config = array();
|
$config = array();
|
||||||
$config['default_timezone'] = "Europe/Paris";
|
$config['default_timezone'] = "Europe/Paris";
|
Loading…
Reference in a new issue