Fix line ending / encoding. re #96

This commit is contained in:
Sébastien Lucas 2013-10-03 11:48:02 +02:00
parent c994cf789f
commit a8dccf1ea5
4 changed files with 26 additions and 26 deletions

View file

@ -1,5 +1,5 @@
language: php
php:
- 5.5
- 5.4
language: php
php:
- 5.5
- 5.4
- 5.3

View file

@ -1,7 +1,7 @@
<phpunit>
<testsuites>
<testsuite name="COPS">
<directory>test</directory>
</testsuite>
</testsuites>
<phpunit>
<testsuites>
<testsuite name="COPS">
<directory>test</directory>
</testsuite>
</testsuites>
</phpunit>

View file

@ -1,14 +1,14 @@
<?php
require_once (dirname(__FILE__) . "/config_test.php");
require_once (dirname(__FILE__) . "/../base.php");
class StackTest extends PHPUnit_Framework_TestCase
{
public function testAddURLParameter ()
{
$this->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"));
}
<?php
require_once (dirname(__FILE__) . "/config_test.php");
require_once (dirname(__FILE__) . "/../base.php");
class StackTest extends PHPUnit_Framework_TestCase
{
public function testAddURLParameter ()
{
$this->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"));
}
}

View file

@ -1,4 +1,4 @@
<?php
$config = array();
<?php
$config = array();
$config['default_timezone'] = "Europe/Paris";