diff --git a/core/modules/rest/src/Tests/Views/StyleSerializerTest.php b/core/modules/rest/src/Tests/Views/StyleSerializerTest.php index f705fc2..dfb15b4 100644 --- a/core/modules/rest/src/Tests/Views/StyleSerializerTest.php +++ b/core/modules/rest/src/Tests/Views/StyleSerializerTest.php @@ -658,6 +658,16 @@ public function testRestViewExposedFilter() { ), ); + $cache_contexts = [ + 'languages:language_content', + 'languages:language_interface', + 'theme', + 'request_format', + 'user.node_grants:view', + 'url', + ]; + $this->assertEqual($result, $expected, 'Querying a view with a starts with exposed filter on the title returns nodes whose title starts with value provided.'); + $this->assertCacheContexts($cache_contexts); } }