From 9b51160d88c17a189fc5c21c29e79c362affedfa Mon Sep 17 00:00:00 2001 From: edalzell Date: Fri, 6 Dec 2024 21:24:35 -0800 Subject: [PATCH] have to fix this test --- tests/Git/GitEventTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Git/GitEventTest.php b/tests/Git/GitEventTest.php index 28cd747825..257701ea21 100644 --- a/tests/Git/GitEventTest.php +++ b/tests/Git/GitEventTest.php @@ -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();