aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2010-04-01 18:59:26 +0200
committerNils Adermann <naderman@naderman.de>2010-04-01 18:59:26 +0200
commit23beaceadd38f694ca2eea3110a20db48328e6ce (patch)
tree1e241f257d141982003db7e9adab1661af5dd0ce /tests
parent53d316dc9ea34b1228591aa9cee766b2ec8abdc7 (diff)
downloadforums-23beaceadd38f694ca2eea3110a20db48328e6ce.tar
forums-23beaceadd38f694ca2eea3110a20db48328e6ce.tar.gz
forums-23beaceadd38f694ca2eea3110a20db48328e6ce.tar.bz2
forums-23beaceadd38f694ca2eea3110a20db48328e6ce.tar.xz
forums-23beaceadd38f694ca2eea3110a20db48328e6ce.zip
[feature/dbal-tests] Fix whitespace and line endings.
Diffstat (limited to 'tests')
-rw-r--r--tests/dbal/fixtures/three_users.xml38
-rw-r--r--tests/test_framework/phpbb_database_test_case.php4
2 files changed, 21 insertions, 21 deletions
diff --git a/tests/dbal/fixtures/three_users.xml b/tests/dbal/fixtures/three_users.xml
index fff26d2b3f..a6789f4a01 100644
--- a/tests/dbal/fixtures/three_users.xml
+++ b/tests/dbal/fixtures/three_users.xml
@@ -1,19 +1,19 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<dataset>
- <table name="phpbb_users">
- <column>user_id</column>
- <column>username_clean</column>
- <row>
- <value>1</value>
- <value>barfoo</value>
- </row>
- <row>
- <value>2</value>
- <value>foobar</value>
- </row>
- <row>
- <value>3</value>
- <value>bertie</value>
- </row>
- </table>
-</dataset>
+<?xml version="1.0" encoding="UTF-8" ?>
+<dataset>
+ <table name="phpbb_users">
+ <column>user_id</column>
+ <column>username_clean</column>
+ <row>
+ <value>1</value>
+ <value>barfoo</value>
+ </row>
+ <row>
+ <value>2</value>
+ <value>foobar</value>
+ </row>
+ <row>
+ <value>3</value>
+ <value>bertie</value>
+ </row>
+ </table>
+</dataset>
diff --git a/tests/test_framework/phpbb_database_test_case.php b/tests/test_framework/phpbb_database_test_case.php
index 547ee6404e..84635fc24d 100644
--- a/tests/test_framework/phpbb_database_test_case.php
+++ b/tests/test_framework/phpbb_database_test_case.php
@@ -45,7 +45,7 @@ abstract class phpbb_database_test_case extends PHPUnit_Extensions_Database_Test
'mssqlnative' => array(
'SCHEMA' => 'mssql',
'DELIM' => 'GO',
- ),
+ ),
'oracle' => array(
'SCHEMA' => 'oracle',
'DELIM' => '/',
@@ -108,7 +108,7 @@ abstract class phpbb_database_test_case extends PHPUnit_Extensions_Database_Test
$pdo->exec('DROP DATABASE ' . $database_config['dbname']);
}
catch (PDOException $e){} // ignore non existent db
-
+
$pdo->exec('CREATE DATABASE ' . $database_config['dbname']);
$pdo = new PDO('mysql:host=' . $database_config['dbhost'] . ';dbname=' . $database_config['dbname'], $database_config['dbuser'], $database_config['dbpasswd']);