Skip to content

Commit

Permalink
have to fix this test
Browse files Browse the repository at this point in the history
  • Loading branch information
edalzell committed Dec 7, 2024
1 parent fd38bc8 commit 9b51160
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Git/GitEventTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -488,8 +488,8 @@ public function it_commits_when_replaced_asset_is_deleted()

Git::shouldReceive('dispatchCommit')->with('Asset saved')->once();

$newAsset = $this->makeAsset()->upload(
UploadedFile::fake()->create('asset.txt')
$newAsset = $this->makeAsset('new-asset.txt')->upload(
UploadedFile::fake()->create('new-asset.txt')
);

Git::shouldReceive('dispatchCommit')->with('Asset deleted')->once();
Expand Down

0 comments on commit 9b51160

Please sign in to comment.