Failing tests - path_alias table not found

Created on 23 July 2024, 4 months ago
Updated 9 August 2024, 4 months ago

Problem/Motivation

PHPUnit\Framework\Exception: Uncaught PHP Exception Drupal\Core\Database\DatabaseExceptionWrapper: "SQLSTATE[42S02]: Base table or view not found: 1146 Table 'db.test40740985path_alias' doesn't exist: SELECT "base_table"."id" AS "id", "base_table"."path" AS "path", "base_table"."alias" AS "alias", "base_table"."langcode" AS "langcode"
FROM
"test40740985path_alias" "base_table"
WHERE ("base_table"."status" = :db_condition_placeholder_0) AND ("base_table"."alias" LIKE :db_condition_placeholder_1 ESCAPE '\\') AND ("base_table"."langcode" IN (:db_condition_placeholder_2, :db_condition_placeholder_3))
ORDER BY "base_table"."langcode" ASC, "base_table"."id" DESC; Array
(
    [:db_condition_placeholder_0] => 1
    [:db_condition_placeholder_1] => /rest-log-test
    [:db_condition_placeholder_2] => en
    [:db_condition_placeholder_3] => und
)

Steps to reproduce

Run tests on newest core.

Proposed resolution

Fix tests.

📌 Task
Status

Fixed

Version

2.0

Component

Code

Created by

🇵🇱Poland ad0z

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024