Loading tests/src/Functional/CaptchaCronTest.php +1 −1 Changes for tests/src/Functional/CaptchaCronTest.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -92,7 +92,7 @@ class CaptchaCronTest extends BrowserTestBase { ->fields('captcha_sessions', ['csid']) ->condition('csid', array_values($this->captchaSessions), 'IN') ->execute() ->fetchCol('csid'); ->fetchCol(); // Test if CAPTCHA cron appropriately removes sessions older than a day. $this->assertNotContains($this->captchaSessions['remove_sid'], $sids, 'CAPTCHA cron removes captcha session data older than 1 day.'); Loading tests/src/Unit/Controller/CaptchaPointListBuilderTest.php +2 Changes for tests/src/Unit/Controller/CaptchaPointListBuilderTest.php: 2 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -55,6 +55,8 @@ class CaptchaPointListBuilderTest extends UnitTestCase { $mockEntity->access(Argument::any())->willReturn(FALSE); $mockEntity->id()->willReturn('target_form_id'); $mockEntity->getCaptchaType()->willReturn('captcha_type'); $mockEntity->hasLinkTemplate('edit-form')->willReturn(FALSE); $mockEntity->hasLinkTemplate('delete-form')->willReturn(FALSE); $row = $this->listBuilder->buildRow($mockEntity->reveal()); Loading Loading
tests/src/Functional/CaptchaCronTest.php +1 −1 Changes for tests/src/Functional/CaptchaCronTest.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -92,7 +92,7 @@ class CaptchaCronTest extends BrowserTestBase { ->fields('captcha_sessions', ['csid']) ->condition('csid', array_values($this->captchaSessions), 'IN') ->execute() ->fetchCol('csid'); ->fetchCol(); // Test if CAPTCHA cron appropriately removes sessions older than a day. $this->assertNotContains($this->captchaSessions['remove_sid'], $sids, 'CAPTCHA cron removes captcha session data older than 1 day.'); Loading
tests/src/Unit/Controller/CaptchaPointListBuilderTest.php +2 Changes for tests/src/Unit/Controller/CaptchaPointListBuilderTest.php: 2 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -55,6 +55,8 @@ class CaptchaPointListBuilderTest extends UnitTestCase { $mockEntity->access(Argument::any())->willReturn(FALSE); $mockEntity->id()->willReturn('target_form_id'); $mockEntity->getCaptchaType()->willReturn('captcha_type'); $mockEntity->hasLinkTemplate('edit-form')->willReturn(FALSE); $mockEntity->hasLinkTemplate('delete-form')->willReturn(FALSE); $row = $this->listBuilder->buildRow($mockEntity->reveal()); Loading