diff options
author | Hannes Magnusson <bjori@php.net> | 2009-05-18 13:52:16 +0000 |
---|---|---|
committer | Hannes Magnusson <bjori@php.net> | 2009-05-18 13:52:16 +0000 |
commit | ebf4c8ddb83a7ce7a9b5a439e94af3c6227b07a7 (patch) | |
tree | 2020b983db754e63dad5bea0e703efdffd339801 /ext/sqlite3 | |
parent | befe4697705e31fac4551ba9807717a47130509c (diff) | |
download | php-git-ebf4c8ddb83a7ce7a9b5a439e94af3c6227b07a7.tar.gz |
Fix test
Diffstat (limited to 'ext/sqlite3')
-rw-r--r-- | ext/sqlite3/tests/sqlite3_31_open.phpt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ext/sqlite3/tests/sqlite3_31_open.phpt b/ext/sqlite3/tests/sqlite3_31_open.phpt index 3d93ca48fb..b30266b7ee 100644 --- a/ext/sqlite3/tests/sqlite3_31_open.phpt +++ b/ext/sqlite3/tests/sqlite3_31_open.phpt @@ -9,12 +9,14 @@ Jelle Lampaert <?php try { - $db = new SQLite3('db1.db'); - $db->open('db1.db'); + $db = new SQLite3(__DIR__ . '/db1.db'); + $db->open(__DIR__ . '/db1.db'); } catch (Exception $ex) { var_dump($ex->getMessage()); } ?> +--CLEAN-- +<?php @unlink(__DIR__ . '/db1.db'); ?> --EXPECTF-- %string|unicode%(29) "Already initialised DB Object" |