File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
tests/Integration/Domain/Repository Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).
20
20
### Removed
21
21
22
22
### Fixed
23
- - Remove associated subscriptions when a subscriber list or subscriber is removed (#271 )
23
+ - Remove associated subscriptions when a subscriber list or subscriber is removed (#271 , # 272 )
24
24
- Always truncate the DB tables after an integration test (#259 )
25
25
- Adapt the system tests to possible HTTP errors (#256 )
26
26
Original file line number Diff line number Diff line change @@ -288,6 +288,6 @@ public function removeAlsoRemovesAssociatedSubscriptions()
288
288
289
289
$ newNumberOfSubscriptions = count ($ this ->subscriptionRepository ->findAll ());
290
290
$ numberOfRemovedSubscriptions = $ initialNumberOfSubscriptions - $ newNumberOfSubscriptions ;
291
- static ::assertSame ($ numberOfAssociatedSubscriptions , $ newNumberOfSubscriptions );
291
+ static ::assertSame ($ numberOfAssociatedSubscriptions , $ numberOfRemovedSubscriptions );
292
292
}
293
293
}
Original file line number Diff line number Diff line change @@ -293,6 +293,6 @@ public function removeAlsoRemovesAssociatedSubscriptions()
293
293
294
294
$ newNumberOfSubscriptions = count ($ this ->subscriptionRepository ->findAll ());
295
295
$ numberOfRemovedSubscriptions = $ initialNumberOfSubscriptions - $ newNumberOfSubscriptions ;
296
- static ::assertSame ($ numberOfAssociatedSubscriptions , $ newNumberOfSubscriptions );
296
+ static ::assertSame ($ numberOfAssociatedSubscriptions , $ numberOfRemovedSubscriptions );
297
297
}
298
298
}
You can’t perform that action at this time.
0 commit comments