Skip to content

Commit

Permalink
fix: dynamic property in test
Browse files Browse the repository at this point in the history
  • Loading branch information
Francois-Gomis committed Sep 11, 2024
1 parent db5252d commit 57bf310
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Test/Unit/Observer/ShipmentTrackObserverTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ class ShipmentTrackObserverTest extends TestCase
* @var OrderInterface
*/
private $trackOrder;
/**
* @var ShipmentTrackObserver
*/
private $shipmentTrackObserver;


protected function setUp(): void
Expand Down Expand Up @@ -374,7 +378,7 @@ private function whenTrackObserverIsExecutedThenReturnWithoutErrors(): void
$this->almaClient,
$this->logger
);
$this->assertNull($this->shipmentTrackObserver->execute($this->observer));
$this->shipmentTrackObserver->execute($this->observer);
}

/**
Expand Down

0 comments on commit 57bf310

Please sign in to comment.