Skip to content

Commit

Permalink
Disable code coverage for now
Browse files Browse the repository at this point in the history
  • Loading branch information
antonioribeiro committed Dec 9, 2017
1 parent a1944e1 commit 26c1dcb
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
},

"require-dev": {
"phpunit/phpunit": ">=6.4",
"phpunit/phpunit": "^6.5",
"orchestra/testbench": "~3.5"
},

Expand Down
2 changes: 1 addition & 1 deletion phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
</logging>
<filter>
<whitelist addUncoveredFilesFromWhitelist="true" processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./src</directory>
<!--<directory suffix=".php">./src</directory>-->
</whitelist>
</filter>
<php>
Expand Down
5 changes: 5 additions & 0 deletions tests/DashboardTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use PHPUnit\Framework\TestCase;
use PragmaRX\Tddd\Package\Services\Watcher;
use PragmaRX\Tddd\Package\Services\Tester;

class DashboardTest extends TestCase
{
Expand All @@ -14,10 +15,14 @@ public function setUp()
parent::setup();

$this->watcher = app(Watcher::class);

$this->worker = app(Tester::class);
}

public function test_can_instantiate_watcher()
{
$this->assertInstanceOf(Watcher::class, $this->watcher);

$this->assertInstanceOf(Tester::class, $this->worker);
}
}
1 change: 1 addition & 0 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ private function deleteDatabase()

protected function setUp()
{
dd('configure');
parent::setUp();

$this->configureDatabase();
Expand Down

0 comments on commit 26c1dcb

Please sign in to comment.