Remove reference to old trait
This commit is contained in:
parent
6b70443515
commit
6e16f589bd
5 changed files with 0 additions and 15 deletions
|
@ -4,13 +4,10 @@ namespace Tests\Feature\ReportTemplates;
|
|||
|
||||
use App\Models\ReportTemplate;
|
||||
use App\Models\User;
|
||||
use Tests\Support\InteractsWithSettings;
|
||||
use Tests\TestCase;
|
||||
|
||||
class CreateReportTemplateTest extends TestCase
|
||||
{
|
||||
use InteractsWithSettings;
|
||||
|
||||
public function testSavingReportTemplateRequiresCorrectPermission()
|
||||
{
|
||||
$this->actingAs(User::factory()->create())
|
||||
|
|
|
@ -4,13 +4,10 @@ namespace Tests\Feature\ReportTemplates;
|
|||
|
||||
use App\Models\ReportTemplate;
|
||||
use App\Models\User;
|
||||
use Tests\Support\InteractsWithSettings;
|
||||
use Tests\TestCase;
|
||||
|
||||
class DeleteReportTemplateTest extends TestCase
|
||||
{
|
||||
use InteractsWithSettings;
|
||||
|
||||
public function testDeletingReportTemplateRequiresCorrectPermission()
|
||||
{
|
||||
$this->actingAs(User::factory()->create())
|
||||
|
|
|
@ -4,13 +4,10 @@ namespace Tests\Feature\ReportTemplates;
|
|||
|
||||
use App\Models\ReportTemplate;
|
||||
use App\Models\User;
|
||||
use Tests\Support\InteractsWithSettings;
|
||||
use Tests\TestCase;
|
||||
|
||||
class ShowReportTemplateTest extends TestCase
|
||||
{
|
||||
use InteractsWithSettings;
|
||||
|
||||
public function testCanLoadCustomReportPage()
|
||||
{
|
||||
$this->actingAs(User::factory()->canViewReports()->create())
|
||||
|
|
|
@ -4,13 +4,10 @@ namespace Tests\Feature\ReportTemplates;
|
|||
|
||||
use App\Models\ReportTemplate;
|
||||
use App\Models\User;
|
||||
use Tests\Support\InteractsWithSettings;
|
||||
use Tests\TestCase;
|
||||
|
||||
class UpdateReportTemplateTest extends TestCase
|
||||
{
|
||||
use InteractsWithSettings;
|
||||
|
||||
public function testUpdatingReportTemplateRequiresCorrectPermission()
|
||||
{
|
||||
$this->actingAs(User::factory()->create())
|
||||
|
|
|
@ -7,13 +7,10 @@ use App\Models\Location;
|
|||
use App\Models\ReportTemplate;
|
||||
use App\Models\User;
|
||||
use Illuminate\Database\Eloquent\Collection;
|
||||
use Tests\Support\InteractsWithSettings;
|
||||
use Tests\TestCase;
|
||||
|
||||
class ReportTemplateTest extends TestCase
|
||||
{
|
||||
use InteractsWithSettings;
|
||||
|
||||
public function testSavedTemplatesAreScopedToTheUser()
|
||||
{
|
||||
// Given there is a saved template for one user
|
||||
|
|
Loading…
Add table
Reference in a new issue