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
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
PSDI Army
yii2
Commits
4c27d887
Commit
4c27d887
authored
Oct 29, 2013
by
Paul Klimov
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of github.com:yiisoft/yii2 into email-swift-2
parents
99d82161
842971c4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
0 deletions
+19
-0
bootstrap.php
tests/unit/bootstrap.php
+3
-0
MemCacheTest.php
tests/unit/framework/caching/MemCacheTest.php
+8
-0
MemCachedTest.php
tests/unit/framework/caching/MemCachedTest.php
+8
-0
No files found.
tests/unit/bootstrap.php
View file @
4c27d887
<?php
<?php
// ensure we get report on all possible php errors
error_reporting
(
-
1
);
define
(
'YII_ENABLE_ERROR_HANDLER'
,
false
);
define
(
'YII_ENABLE_ERROR_HANDLER'
,
false
);
define
(
'YII_DEBUG'
,
true
);
define
(
'YII_DEBUG'
,
true
);
$_SERVER
[
'SCRIPT_NAME'
]
=
'/'
.
__DIR__
;
$_SERVER
[
'SCRIPT_NAME'
]
=
'/'
.
__DIR__
;
...
...
tests/unit/framework/caching/MemCacheTest.php
View file @
4c27d887
...
@@ -26,4 +26,12 @@ class MemCacheTest extends CacheTestCase
...
@@ -26,4 +26,12 @@ class MemCacheTest extends CacheTestCase
}
}
return
$this
->
_cacheInstance
;
return
$this
->
_cacheInstance
;
}
}
public
function
testExpire
()
{
if
(
getenv
(
'TRAVIS'
)
==
'true'
)
{
$this
->
markTestSkipped
(
'Can not reliably test memcache expiry on travis-ci.'
);
}
parent
::
testExpire
();
}
}
}
tests/unit/framework/caching/MemCachedTest.php
View file @
4c27d887
...
@@ -26,4 +26,12 @@ class MemCachedTest extends CacheTestCase
...
@@ -26,4 +26,12 @@ class MemCachedTest extends CacheTestCase
}
}
return
$this
->
_cacheInstance
;
return
$this
->
_cacheInstance
;
}
}
public
function
testExpire
()
{
if
(
getenv
(
'TRAVIS'
)
==
'true'
)
{
$this
->
markTestSkipped
(
'Can not reliably test memcached expiry on travis-ci.'
);
}
parent
::
testExpire
();
}
}
}
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