Skip to content

Commit c014c4a

Browse files
committed
Fix tests for Laravel 5.5
1 parent 37e4384 commit c014c4a

File tree

4 files changed

+4
-18
lines changed

4 files changed

+4
-18
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
composer.lock
22
phpunit.xml
33
vendor
4+
/.idea

.travis.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,6 @@ matrix:
5252
- php: hhvm
5353
env: LARAVEL_VERSION=5.4.*
5454
dist: trusty
55-
- php: hhvm
56-
env: LARAVEL_VERSION=5.5.*
57-
dist: trusty
5855

5956
before_install:
6057
- if [[ $TRAVIS_PHP_VERSION =~ ^hhvm ]]; then echo 'hhvm.jit = false' >> /etc/hhvm/php.ini ; fi
@@ -64,4 +61,4 @@ before_install:
6461
install:
6562
- travis_retry composer install --no-suggest --prefer-dist -n -o
6663

67-
script: vendor/bin/phpunit
64+
script: vendor/bin/phpunit

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
"mrclay/minify": "^2.2"
2525
},
2626
"require-dev": {
27-
"graham-campbell/testbench": "^3.1",
27+
"graham-campbell/testbench": "^3.1|^4.0",
2828
"mockery/mockery": "^0.9.4",
29-
"phpunit/phpunit": "^4.8|^5.0"
29+
"phpunit/phpunit": "^4.8|^5.0|^6.0"
3030
},
3131
"autoload": {
3232
"psr-4": {

tests/Functional/AbstractFunctionalTestCase.php

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,6 @@
2121
*/
2222
abstract class AbstractFunctionalTestCase extends AbstractTestCase
2323
{
24-
/**
25-
* @before
26-
*/
27-
public function setUpStorage()
28-
{
29-
$files = glob(storage_path('framework/views/*'));
30-
31-
foreach ($files as $file) {
32-
@unlink($file);
33-
}
34-
}
35-
3624
/**
3725
* Normalise eol characters in a string.
3826
*

0 commit comments

Comments
 (0)