fix: makes portfolio available to form request

This commit is contained in:
hackerESQ
2025-01-27 23:08:23 -06:00
parent 465686dbaf
commit 53ebe28b14
2 changed files with 12 additions and 3 deletions
+2 -1
View File
@@ -77,7 +77,8 @@ class TransactionsTest extends TestCase
'cost_basis' => 150,
];
$this->postJson(route('api.transaction.store'), $data)
$this->actingAs($this->user)
->postJson(route('api.transaction.store'), $data)
->assertCreated()
->assertJsonStructure([
'id',