snipe-it/tests/Feature/Importing/Api/ImportDataTestCase.php

15 lines
343 B
PHP
Raw Normal View History

2024-09-30 04:42:41 -07:00
<?php
namespace Tests\Feature\Importing\Api;
use Illuminate\Testing\TestResponse;
2024-10-03 15:14:07 -07:00
use Tests\TestCase;
2024-09-30 04:42:41 -07:00
abstract class ImportDataTestCase extends TestCase
{
protected function importFileResponse(array $parameters = []): TestResponse
{
return $this->postJson(route('api.imports.importFile', $parameters), $parameters);
}
}