Skip to content

Commit

Permalink
Feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentBean committed Nov 13, 2024
1 parent 2936506 commit 73cc9c8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/Jobs/ProductModel/SaveProductModelJobTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public function it_can_fail(): void
'data' => [],
]);

$productData = ProductModelData::of([
$productModelData = ProductModelData::of([
'code' => 'code',
'values' => [
'name' => [
Expand All @@ -83,7 +83,7 @@ public function it_can_fail(): void
],
]);

$job = new SaveProductModelJob($productData);
$job = new SaveProductModelJob($productModelData);
$job->failed(new Exception);

$product->refresh();
Expand All @@ -94,7 +94,7 @@ public function it_can_fail(): void
#[Test]
public function it_can_fail_without_product_model(): void
{
$productData = ProductModelData::of([
$productModelData = ProductModelData::of([
'code' => 'code',
'values' => [
'name' => [
Expand All @@ -107,7 +107,7 @@ public function it_can_fail_without_product_model(): void
],
]);

$job = new SaveProductModelJob($productData);
$job = new SaveProductModelJob($productModelData);
$job->failed(new Exception);

$this->assertTrue(true, 'No exception thrown');
Expand Down

0 comments on commit 73cc9c8

Please sign in to comment.