summaryrefslogtreecommitdiff
path: root/ext/sqlite3
diff options
context:
space:
mode:
authorHannes Magnusson <bjori@php.net>2009-05-18 13:52:16 +0000
committerHannes Magnusson <bjori@php.net>2009-05-18 13:52:16 +0000
commitebf4c8ddb83a7ce7a9b5a439e94af3c6227b07a7 (patch)
tree2020b983db754e63dad5bea0e703efdffd339801 /ext/sqlite3
parentbefe4697705e31fac4551ba9807717a47130509c (diff)
downloadphp-git-ebf4c8ddb83a7ce7a9b5a439e94af3c6227b07a7.tar.gz
Fix test
Diffstat (limited to 'ext/sqlite3')
-rw-r--r--ext/sqlite3/tests/sqlite3_31_open.phpt6
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"