Skip to content

Commit 96f2fbb

Browse files
committed
Merge branch 'Resource-idempotency' of https://github.com/AllanKoder/ComputerScienceResources.com into Resource-idempotency
2 parents 85d2e3d + 2d4d7d9 commit 96f2fbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Feature/ComputerScienceResourceTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public function test_image_is_removed_if_resource_creation_fails()
127127
$response->assertStatus(422); // Validation error
128128

129129
// The image should not exist in storage
130-
Storage::disk('public')->assertMissing('resource/' . $formData['image_file']->hashName());
130+
Storage::disk('public')->assertMissing('resource/'.$formData['image_file']->hashName());
131131
}
132132

133133
public function test_model_removes_image_upon_deletion()

0 commit comments

Comments
 (0)