We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfdd85a commit 8035326Copy full SHA for 8035326
tests/Feature/Importing/Api/GeneralImportTest.php
@@ -0,0 +1,16 @@
1
+<?php
2
+
3
+namespace Tests\Feature\Importing\Api;
4
5
+use App\Models\User;
6
7
+class GeneralImportTest extends ImportDataTestCase
8
+{
9
+ public function testRequiresExistingImport()
10
+ {
11
+ $this->actingAsForApi(User::factory()->canImport()->create());
12
13
+ $this->importFileResponse(['import' => 9999, 'import-type' => 'accessory'])
14
+ ->assertStatusMessageIs('import-errors');
15
+ }
16
+}
0 commit comments