File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ $testQuery = 'SELECT 1 as verification';
30
30
// Create temp user with space in password
31
31
$ sql = sprintf ($ template , 'my password ' );
32
32
$ pdo ->query ($ sql );
33
- $ testConn = new PDO ($ _ENV ['PDOTEST_DSN ' ], $ user , "my password " );
33
+ $ testConn = new PDO ($ conf [ ' ENV ' ] ['PDOTEST_DSN ' ], $ user , "my password " );
34
34
$ result = $ testConn ->query ($ testQuery )->fetch ();
35
35
$ check = $ result [0 ];
36
36
var_dump ($ check );
@@ -42,7 +42,7 @@ $pdo->query($dropUser);
42
42
$ sql = sprintf ($ template , "my pass''word " );
43
43
$ pdo ->query ($ sql );
44
44
45
- $ testConn = new PDO ($ _ENV ['PDOTEST_DSN ' ], $ user , "my pass'word " );
45
+ $ testConn = new PDO ($ conf [ ' ENV ' ] ['PDOTEST_DSN ' ], $ user , "my pass'word " );
46
46
$ result = $ testConn ->query ($ testQuery )->fetch ();
47
47
$ check = $ result [0 ];
48
48
var_dump ($ check );
You can’t perform that action at this time.
0 commit comments