| Total Complexity | 3 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | #[CoversClass( EmptyBannerSelectionData::class )] |
||
| 13 | class EmptyBannerSelectionDataTest extends TestCase { |
||
| 14 | |||
| 15 | public function test_given_inactive_campaign_for_visitor_then_banner_is_not_displayed(): void { |
||
| 16 | $bannerSelectionData = new EmptyBannerSelectionData( |
||
| 17 | VisitorFixture::getTestVisitor() |
||
| 18 | ); |
||
| 19 | $this->assertFalse( $bannerSelectionData->displayBanner() ); |
||
| 20 | $this->assertEquals( VisitorFixture::getTestVisitor(), $bannerSelectionData->getVisitorData() ); |
||
| 21 | } |
||
| 22 | |||
| 23 | public function test_given_inactive_campaign_for_visitor_then_get_campaign_end_throws_exception(): void { |
||
| 29 | } |
||
| 30 | |||
| 31 | public function test_given_inactive_campaign_for_visitor_then_get_banner_identifier_throws_exception(): void { |
||
| 39 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths