protected function Fix404RedirectCronJobTest::assert404Row in Redirect 8
Passes if the row with the given parameters is in the redirect_404 table.
Parameters
string $path: The path of the request.
string $langcode: (optional) The langcode of the request.
3 calls to Fix404RedirectCronJobTest::assert404Row()
- Fix404RedirectCronJobTest::testRedirect404CronJob in modules/
redirect_404/ tests/ src/ Kernel/ Fix404RedirectCronJobTest.php - Tests adding and deleting rows from redirect_404 table.
- Fix404RedirectCronJobTest::testRedirect404CronJobDailyCountReset in modules/
redirect_404/ tests/ src/ Kernel/ Fix404RedirectCronJobTest.php - Tests resetting the daily counts in the 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 181
Class
- Fix404RedirectCronJobTest
- Tests the clean up cron job for redirect_404.
Namespace
Drupal\Tests\redirect_404\KernelCode
protected function assert404Row($path, $langcode = 'en') {
$this
->assert404RowHelper($path, $langcode, FALSE);
}