projects
/
dbsrgits/DBIx-Class.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
5aa6695
)
Fix test suite to work again with DBICTEST_SQLITE_USE_FILE
Peter Rabbitson [Tue, 17 Mar 2015 12:06:13 +0000 (13:06 +0100)]
( partial cherry-pick of
ee573365
)
t/prefetch/correlated.t
patch
|
blob
|
blame
|
history
t/sqlmaker/mysql.t
patch
|
blob
|
blame
|
history
diff --git
a/t/prefetch/correlated.t
b/t/prefetch/correlated.t
index
6452a94
..
90bd026
100644
(file)
--- a/
t/prefetch/correlated.t
+++ b/
t/prefetch/correlated.t
@@
-138,6
+138,8
@@
is_same_sql_bind(
'Expected SQL on correlated realiased subquery'
);
+$schema->storage->disconnect;
+
# test for subselect identifier leakage
# NOTE - the hodge-podge mix of literal and regular identifuers is *deliberate*
for my $quote_names (0,1) {
diff --git
a/t/sqlmaker/mysql.t
b/t/sqlmaker/mysql.t
index
2755a3d
..
e0cd4fc
100644
(file)
--- a/
t/sqlmaker/mysql.t
+++ b/
t/sqlmaker/mysql.t
@@
-3,6
+3,9
@@
use warnings;
use Test::More;
+# Fixed properly in mainline
+BEGIN { delete $ENV{DBICTEST_SQLITE_USE_FILE} }
+
use lib qw(t/lib);
use DBICTest;
use DBICTest::Schema;