Skip to content

Commit 6430909

Browse files
committed
Removing bootstrap script for Oracle
1 parent 0c47916 commit 6430909

File tree

3 files changed

+4
-9
lines changed

3 files changed

+4
-9
lines changed

phpunit.oracle.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
convertNoticesToExceptions="true"
88
convertWarningsToExceptions="true"
99
processIsolation="false"
10-
stopOnFailure="false"
10+
stopOnFailure="true"
1111
bootstrap="vendor/autoload.php"
1212
>
1313
<testsuites>
@@ -19,9 +19,9 @@
1919
<php>
2020
<!-- "Real" test database -->
2121
<var name="db_host" value="localhost" />
22-
<var name="db_admin_username" value="tdbm_admin" />
22+
<var name="db_admin_username" value="system" />
2323
<var name="db_username" value="tdbm" />
24-
<var name="db_password" value="tdbm" />
24+
<var name="db_password" value="oracle" />
2525
<var name="db_name" value="tdbm" />
2626
<var name="db_port" value="1521"/>
2727
<var name="db_driver" value="oci8"/>

tests/Fixtures/oracle-startup.sql

Lines changed: 0 additions & 5 deletions
This file was deleted.

tests/phpunit-oracle.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
66
cd $DIR
77
cd ..
88

9-
docker run --rm --name oracle-tdbm-test -v $(pwd):/app -v $(pwd)/tests/Fixtures/oracle-startup.sql:/docker-entrypoint-initdb.d/oracle-startup.sql moufmouf/oracle-xe-php:7.4-11g vendor/bin/phpunit -c phpunit.oracle.xml
9+
docker run --rm --name oracle-tdbm-test -v $(pwd):/app moufmouf/oracle-xe-php:7.4-11g vendor/bin/phpunit -c phpunit.oracle.xml
1010

0 commit comments

Comments
 (0)