Skip to content
Snippets Groups Projects
Commit 502d772d authored by catch's avatar catch
Browse files

Issue #3458922 by quietone, alexpott, longwave: Fix index test in...

Issue #3458922 by quietone, alexpott, longwave: Fix index test in LocalesLocationAddIndexUpdateTest::testExistingIndex

(cherry picked from commit 11c4be53)
parent 8a65d1f5
No related branches found
No related tags found
5 merge requests!122353526426-warning-for-missing,!11958Issue #3490507 by alexpott, smustgrave: Fix bogus mocking in...,!11769Issue #3517987: Add option to contextual filters to encode slashes in query parameter.,!11185Issue #3477324 by andypost, alexpott: Fix usage of str_getcsv() and fgetcsv() for PHP 8.4,!9944Issue #3483353: Consider making the createCopy config action optionally fail...
Pipeline #215478 passed with warnings
Pipeline: drupal

#215510

    Pipeline: drupal

    #215505

      Pipeline: drupal

      #215499

        +1
        ......@@ -102,13 +102,10 @@ public function testExistingIndex(): void {
        // Run updates and test them.
        $this->runUpdates();
        // Ensure the update runs successfully even if an index existed prior to
        // the update.
        $schema = \Drupal::database()->schema();
        $this->assertTrue($schema->indexExists('locales_location', 'type_name'));
        // Ensure that index specification matches our expectations.
        $introspect_index_schema = new \ReflectionMethod(get_class($schema), 'introspectIndexSchema');
        $index_schema = $introspect_index_schema->invoke($schema, 'locales_location');
        $this->assertSame(['type', 'name'], $index_schema['indexes']['type_name']);
        }
        }
        0% Loading or .
        You are about to add 0 people to the discussion. Proceed with caution.
        Please register or to comment