This website works better with JavaScript.
Home
Explore
Help
Sign In
p3k
/
utils
mirror of
https://github.com/aaronpk/p3k-utils.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
5
Wiki
Activity
Browse Source
upgrade phpunit
main
Aaron Parecki
3 years ago
parent
5754ef08a3
commit
8f3f6aa30c
6 changed files
with
6 additions
and
5 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
.gitignore
+1
-1
composer.json
+1
-1
tests/integration/CacheTest.php
+1
-1
tests/unit/DateTest.php
+1
-1
tests/unit/URLTest.php
+1
-1
tests/unit/UtilsTest.php
+ 1
- 0
.gitignore
View File
@ -2,3 +2,4 @@ composer.lock
vendor/
coverage/
.DS_Store
.phpunit.result.cache
+ 1
- 1
composer.json
View File
@ -14,7 +14,7 @@
"php"
:
">=5.5"
}
,
"require-dev"
:
{
"phpunit/phpunit"
:
"^
4.8.13
"
,
"phpunit/phpunit"
:
"^
8.5
"
,
"predis/predis"
:
"1.1.*"
}
,
"autoload"
:
{
+ 1
- 1
tests/integration/CacheTest.php
View File
@ -1,5 +1,5 @@
<
?
php
class
CacheTest
extends
PHPUnit_Framework_
TestCase
{
class
CacheTest
extends
\PHPUnit\Framework\
TestCase
{
public
function
testCreateFromConfig
()
{
p3k\Cache
::
redis
(
'tcp://127.0.0.1:6379'
);
+ 1
- 1
tests/unit/DateTest.php
View File
@ -1,5 +1,5 @@
<
?
php
class
DateTest
extends
PHPUnit_Framework_
TestCase
{
class
DateTest
extends
\PHPUnit\Framework\
TestCase
{
public
function
testFormatLocalPositiveOffset
()
{
$local
=
p3k\date\format_local
(
'c'
,
'2017-05-01T13:30:00+0000'
,
7200
);
+ 1
- 1
tests/unit/URLTest.php
View File
@ -1,5 +1,5 @@
<
?
php
class
URLTest
extends
PHPUnit_Framework_
TestCase
{
class
URLTest
extends
\PHPUnit\Framework\
TestCase
{
public
function
testDisplayURL
()
{
$url
=
p3k\url\display_url
(
'http://example.com'
);
+ 1
- 1
tests/unit/UtilsTest.php
View File
@ -1,5 +1,5 @@
<
?
php
class
UtilsTest
extends
PHPUnit_Framework_
TestCase
{
class
UtilsTest
extends
\PHPUnit\Framework\
TestCase
{
public
function
testRandomString
()
{
$str1
=
p3k\random_string
(
20
);
Write
Preview
Loading…
Cancel
Save