Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Rotua Panjaitan
yii2
Commits
b7be92ce
Commit
b7be92ce
authored
Mar 28, 2013
by
Qiang Xue
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of git.yiisoft.com:yii2
parents
8c667821
4d595873
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
MysqlTestCase.php
tests/unit/MysqlTestCase.php
+2
-2
DbCacheTest.php
tests/unit/framework/caching/DbCacheTest.php
+1
-1
No files found.
tests/unit/MysqlTestCase.php
View file @
b7be92ce
...
...
@@ -4,7 +4,7 @@ namespace yiiunit;
class
MysqlTestCase
extends
TestCase
{
function
__construct
()
protected
function
setUp
()
{
if
(
!
extension_loaded
(
'pdo'
)
||
!
extension_loaded
(
'pdo_mysql'
))
{
$this
->
markTestSkipped
(
'pdo and pdo_mysql extensions are required.'
);
...
...
@@ -15,7 +15,7 @@ class MysqlTestCase extends TestCase
* @param bool $reset whether to clean up the test database
* @return \yii\db\Connection
*/
function
getConnection
(
$reset
=
true
)
public
function
getConnection
(
$reset
=
true
)
{
$params
=
$this
->
getParam
(
'mysql'
);
$db
=
new
\yii\db\Connection
;
...
...
tests/unit/framework/caching/DbCacheTest.php
View file @
b7be92ce
...
...
@@ -11,7 +11,7 @@ class DbCacheTest extends CacheTest
private
$_cacheInstance
;
private
$_connection
;
function
__construct
()
protected
function
setUp
()
{
if
(
!
extension_loaded
(
'pdo'
)
||
!
extension_loaded
(
'pdo_mysql'
))
{
$this
->
markTestSkipped
(
'pdo and pdo_mysql extensions are required.'
);
...
...
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