A free open source IT asset/license management system
Small text fix
snipe5a2764b94547
diff --git a/tests/Feature/Importing/Api/ImportAssetsTest.php b/tests/Feature/Importing/Api/ImportAssetsTest.phpindex 95a209b842..43956b6dc2 100644--- a/tests/Feature/Importing/Api/ImportAssetsTest.php+++ b/tests/Feature/Importing/Api/ImportAssetsTest.php@@ -750,9 +750,8 @@ class ImportAssetsTest extends ImportDataTestCase implements TestsPermissionsReq'assigneeEmail' => '[email protected]',]);- $import = Import::factory()->asset()->create(['file_path' => $importFileBuilder->saveToImportsDirectory()]);-$this->actingAsForApi($importer);+ $import = Import::factory()->asset()->create(['file_path' => $importFileBuilder->saveToImportsDirectory()]);$this->importFileResponse(['import' => $import->id])->assertOk();$this->assertDatabaseMissing('users', ['username' => 'phantom-floater-user']);