Skip to content

Commit

Permalink
Feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
Finn Paes committed Feb 16, 2024
1 parent eaa06cd commit 953cc56
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/Actions/UpdateMsiStockTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,11 @@ public function test_it_stops_when_stockdata_is_empty(): void
$action->update($stock);

Event::assertNotDispatched(StockUpdatedEvent::class);

Http::assertNotSent(function (Request $request): bool {
return $request->method() === 'POST' &&
$request->url() === 'http://magento.test/rest/all/async/V1/inventory/source-items';
});
}

public function test_it_logs_error(): void
Expand Down

0 comments on commit 953cc56

Please sign in to comment.