Skip to content

Commit

Permalink
Merge pull request #8 from zimo-xiao/master
Browse files Browse the repository at this point in the history
add lumen 5.8.* support
  • Loading branch information
albertcht authored Jun 13, 2019
2 parents 02d787b + b3cd519 commit f529751
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
14 changes: 6 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,13 @@
"description": "Testing Suite For Lumen like Laravel does.",
"keywords": ["phpunit", "test", "lumen", "testing", "laravel", "laravel"],
"license": "MIT",
"authors": [
{
"name": "Albert Chen",
"email": "[email protected]"
}
],
"authors": [{
"name": "Albert Chen",
"email": "[email protected]"
}],
"require": {
"php": "^7.1",
"laravel/lumen-framework": "5.3.*|5.4.*|5.5.*|5.6.*|5.7.*"
"laravel/lumen-framework": "5.3.*|5.4.*|5.5.*|5.6.*|5.7.*|5.8.*"

},
"require-dev": {
Expand All @@ -23,4 +21,4 @@
"AlbertCht\\Lumen\\Testing\\": "src/"
}
}
}
}
6 changes: 3 additions & 3 deletions src/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ abstract class TestCase extends LumenTestCase
Concerns\InteractsWithAuthentication,
Concerns\MocksApplicationServices;

static protected $appPath;
protected static $appPath;

/**
* Setup the test environment.
*
* @return void
*/
public function setUp()
public function setUp(): void
{
parent::setUp();
$this->appendTraits();
Expand Down Expand Up @@ -64,4 +64,4 @@ protected function getAppPath()

return static::$appPath;
}
}
}

0 comments on commit f529751

Please sign in to comment.