Set up unit tests.
This commit is contained in:
1 parent
8cd280f12a
commit
1bf5e5c5ad
6 files changed
+297
-2
No files matched your search
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace Rarst\Laps\Tests;
|
||||
|
||||
use Mockery\Adapter\Phpunit\MockeryPHPUnitIntegration;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Brain\Monkey;
|
||||
|
||||
class LapsTestCase extends TestCase {
|
||||
|
||||
use MockeryPHPUnitIntegration;
|
||||
|
||||
protected function setUp() {
|
||||
parent::setUp();
|
||||
Monkey\setUp();
|
||||
}
|
||||
|
||||
protected function tearDown() {
|
||||
Monkey\tearDown();
|
||||
parent::tearDown();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user