diff options
| author | Hannes Magnusson <bjori@php.net> | 2009-05-18 13:52:05 +0000 |
|---|---|---|
| committer | Hannes Magnusson <bjori@php.net> | 2009-05-18 13:52:05 +0000 |
| commit | 9cbd6d638cc9d9c79af10ea7c2fa239125fa7e1e (patch) | |
| tree | 9d4ae29a4763f00915ef5eb0c366cb996c39b6c3 /ext/sqlite3 | |
| parent | 52306236952165f474349e96e850a71c20ed065d (diff) | |
| download | php-git-9cbd6d638cc9d9c79af10ea7c2fa239125fa7e1e.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" |
