Browse Source

Update Unit model and policy test case to extends browserkit testcase

tags/0.1.0
Nafies Luthfi 8 years ago
parent
commit
9461ec1537
  1. 2
      src/stubs/test-policy.stub
  2. 2
      src/stubs/test-unit.stub
  3. 2
      tests/Generators/ModelPolicyTestGeneratorTest.php
  4. 2
      tests/Generators/ModelTestGeneratorTest.php

2
src/stubs/test-policy.stub

@ -4,7 +4,7 @@ namespace Tests\Unit\Policies;
use fullMstr;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Tests\TestCase;
use Tests\BrowserKitTest as TestCase;
class MasterTest extends TestCase
{

2
src/stubs/test-unit.stub

@ -4,7 +4,7 @@ namespace Tests\Unit\Models;
use fullMstr;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Tests\TestCase;
use Tests\BrowserKitTest as TestCase;
class MasterTest extends TestCase
{

2
tests/Generators/ModelPolicyTestGeneratorTest.php

@ -22,7 +22,7 @@ namespace Tests\Unit\Policies;
use {$this->full_model_name};
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Tests\TestCase;
use Tests\BrowserKitTest as TestCase;
class {$this->model_name}Test extends TestCase
{

2
tests/Generators/ModelTestGeneratorTest.php

@ -18,7 +18,7 @@ namespace Tests\Unit\Models;
use {$this->full_model_name};
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Tests\TestCase;
use Tests\BrowserKitTest as TestCase;
class {$this->model_name}Test extends TestCase
{

Loading…
Cancel
Save