Skip to content

Commit

Permalink
Add feature was disabled event
Browse files Browse the repository at this point in the history
  • Loading branch information
vblinden authored and kpicaza committed Oct 3, 2021
1 parent 3ba51e6 commit 41da1a9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/Write/FeatureTest.php
Expand Up @@ -66,6 +66,8 @@ public function testItShouldBeDisabled(): void
$this->assertCount(2, $events); // Released FeatureWasCreated event and FeatureWasDisabled event
$featureWasDisabledEvent = $events[1];
$this->assertInstanceOf(FeatureWasDisabled::class, $featureWasDisabledEvent);
$this->assertSame(self::FEATURE_ID, $featureWasDisabledEvent->featureId()->value());
$this->assertInstanceOf(DatetimeImmutable::class, $featureWasDisabledEvent->occurredAt());
}

public function testItShouldSetAnStrategy(): void
Expand Down

0 comments on commit 41da1a9

Please sign in to comment.