You are here

protected function Fix404RedirectCronJobTest::assertNo404Row in Redirect 8

Passes if the row with the given parameters is NOT in the redirect_404 table.

Parameters

string $path: The path of the request.

string $langcode: (optional) The langcode of the request.

2 calls to Fix404RedirectCronJobTest::assertNo404Row()
Fix404RedirectCronJobTest::testRedirect404CronJob in modules/redirect_404/tests/src/Kernel/Fix404RedirectCronJobTest.php
Tests adding and deleting rows from redirect_404 table.
Fix404RedirectCronJobTest::testRedirect404CronJobKeepAllButOne in modules/redirect_404/tests/src/Kernel/Fix404RedirectCronJobTest.php
Tests adding rows and deleting one row from redirect_404 table.

File

modules/redirect_404/tests/src/Kernel/Fix404RedirectCronJobTest.php, line 193

Class

Fix404RedirectCronJobTest
Tests the clean up cron job for redirect_404.

Namespace

Drupal\Tests\redirect_404\Kernel

Code

protected function assertNo404Row($path, $langcode = 'en') {
  $this
    ->assert404RowHelper($path, $langcode, TRUE);
}