summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Gass2023-08-16 17:42:31 +0200
committerNathan Gass2023-08-16 17:42:31 +0200
commit3abdd4daeddd6da684d2731f9780b4aa38b3c280 (patch)
tree33b307f6e27f07dca0548cf465aa756b32a72971
parent179b94972aa964178a2921b70c2a895bf3039d0f (diff)
downloaditools-3abdd4daeddd6da684d2731f9780b4aa38b3c280.tar.gz
itools-3abdd4daeddd6da684d2731f9780b4aa38b3c280.tar.bz2
itools-3abdd4daeddd6da684d2731f9780b4aa38b3c280.zip
use it_dbi_postgres everywhere for postgresql tests
-rwxr-xr-xtest/it_dbi.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/it_dbi.t b/test/it_dbi.t
index 356a093..9d121f3 100755
--- a/test/it_dbi.t
+++ b/test/it_dbi.t
@@ -279,7 +279,7 @@ foreach (new it_dbi_test as $id => $record)
is($count, 3, "Iterator without select");
$count = 0;
-foreach (new it_dbi($db + ['table' => 'it_dbi_test']) as $id => $record)
+foreach (new $opts['subclass']($db + ['table' => 'it_dbi_test']) as $id => $record)
{
$count++;
is($record->_key, $id, "Iterator id $id (it_dbi object)");