Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
doctrine-dbal
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tomáš Trávníček
doctrine-dbal
Commits
b19626ab
Commit
b19626ab
authored
Dec 18, 2015
by
Erik Weatherwax
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update DriverManager unit tests to use 'path' instead of 'dbname' with sqlite driver.
parent
2c345592
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
DriverManagerTest.php
tests/Doctrine/Tests/DBAL/DriverManagerTest.php
+6
-6
No files found.
tests/Doctrine/Tests/DBAL/DriverManagerTest.php
View file @
b19626ab
...
@@ -151,27 +151,27 @@ class DriverManagerTest extends \Doctrine\Tests\DbalTestCase
...
@@ -151,27 +151,27 @@ class DriverManagerTest extends \Doctrine\Tests\DbalTestCase
),
),
'sqlite relative URL with host'
=>
array
(
'sqlite relative URL with host'
=>
array
(
'sqlite://localhost/foo/dbname.sqlite'
,
'sqlite://localhost/foo/dbname.sqlite'
,
array
(
'
dbname
'
=>
'foo/dbname.sqlite'
,
'driver'
=>
'Doctrine\DBAL\Driver\PDOSqlite\Driver'
),
array
(
'
path
'
=>
'foo/dbname.sqlite'
,
'driver'
=>
'Doctrine\DBAL\Driver\PDOSqlite\Driver'
),
),
),
'sqlite absolute URL with host'
=>
array
(
'sqlite absolute URL with host'
=>
array
(
'sqlite://localhost//tmp/dbname.sqlite'
,
'sqlite://localhost//tmp/dbname.sqlite'
,
array
(
'
dbname
'
=>
'/tmp/dbname.sqlite'
,
'driver'
=>
'Doctrine\DBAL\Driver\PDOSqlite\Driver'
),
array
(
'
path
'
=>
'/tmp/dbname.sqlite'
,
'driver'
=>
'Doctrine\DBAL\Driver\PDOSqlite\Driver'
),
),
),
'sqlite relative URL without host'
=>
array
(
'sqlite relative URL without host'
=>
array
(
'sqlite:///foo/dbname.sqlite'
,
'sqlite:///foo/dbname.sqlite'
,
array
(
'
dbname
'
=>
'foo/dbname.sqlite'
,
'driver'
=>
'Doctrine\DBAL\Driver\PDOSqlite\Driver'
),
array
(
'
path
'
=>
'foo/dbname.sqlite'
,
'driver'
=>
'Doctrine\DBAL\Driver\PDOSqlite\Driver'
),
),
),
'sqlite absolute URL without host'
=>
array
(
'sqlite absolute URL without host'
=>
array
(
'sqlite:////tmp/dbname.sqlite'
,
'sqlite:////tmp/dbname.sqlite'
,
array
(
'
dbname
'
=>
'/tmp/dbname.sqlite'
,
'driver'
=>
'Doctrine\DBAL\Driver\PDOSqlite\Driver'
),
array
(
'
path
'
=>
'/tmp/dbname.sqlite'
,
'driver'
=>
'Doctrine\DBAL\Driver\PDOSqlite\Driver'
),
),
),
'sqlite memory'
=>
array
(
'sqlite memory'
=>
array
(
'sqlite:///:memory:'
,
'sqlite:///:memory:'
,
array
(
'
dbname
'
=>
':memory:'
,
'driver'
=>
'Doctrine\DBAL\Driver\PDOSqlite\Driver'
),
array
(
'
path
'
=>
':memory:'
,
'driver'
=>
'Doctrine\DBAL\Driver\PDOSqlite\Driver'
),
),
),
'sqlite memory with host'
=>
array
(
'sqlite memory with host'
=>
array
(
'sqlite://localhost/:memory:'
,
'sqlite://localhost/:memory:'
,
array
(
'
dbname
'
=>
':memory:'
,
'driver'
=>
'Doctrine\DBAL\Driver\PDOSqlite\Driver'
),
array
(
'
path
'
=>
':memory:'
,
'driver'
=>
'Doctrine\DBAL\Driver\PDOSqlite\Driver'
),
),
),
'params parsed from URL override individual params'
=>
array
(
'params parsed from URL override individual params'
=>
array
(
array
(
'url'
=>
'mysql://foo:bar@localhost/baz'
,
'password'
=>
'lulz'
),
array
(
'url'
=>
'mysql://foo:bar@localhost/baz'
,
'password'
=>
'lulz'
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment