Skip to content

Commit

Permalink
make tests more robust
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed Jan 23, 2017
1 parent 4e21ef1 commit 6940dac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@
],
"require": {
"php" : "^7.0",
"illuminate/support": "~5.1.0|~5.2.0|~5.3.0",
"illuminate/support": "~5.1.0|~5.2.0|~5.3.0|~5.4.0@dev",
"nesbot/carbon": "^1.0"
},
"require-dev": {
"phpunit/phpunit": "5.*",
"orchestra/testbench": "3.3.x-dev",
"orchestra/database": "3.3.x-dev"
"orchestra/testbench": "~3.3.0",
"orchestra/database": "~3.3.0"
},
"autoload": {
"psr-4": {
Expand Down
2 changes: 1 addition & 1 deletion tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ abstract class TestCase extends \Orchestra\Testbench\TestCase
{
public function __construct($name = null, array $data = [], $dataName = '')
{
Carbon::setTestNow(Carbon::create(2016, 1, 1)
Carbon::setTestNow(Carbon::create(2016, 1, 1, 0, 0, 0)
->setTimezone('Europe/Brussels')
->startOfDay());

Expand Down

0 comments on commit 6940dac

Please sign in to comment.