Skip to content

Commit 117bb08

Browse files
committed
Fixing tests and adapting to latest version of the GraphQL module.
1 parent 4aa6828 commit 117bb08

2 files changed

Lines changed: 9 additions & 11 deletions

File tree

tests/modules/graphql_views_test/config/install/views.view.graphql_bundle_test.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -150,21 +150,21 @@ display:
150150
entity_field: type
151151
plugin_id: bundle
152152
sorts:
153-
created:
154-
id: created
153+
nid:
154+
id: nid
155155
table: node_field_data
156-
field: created
157-
order: DESC
158-
entity_type: node
159-
entity_field: created
160-
plugin_id: date
156+
field: nid
161157
relationship: none
162158
group_type: group
163159
admin_label: ''
160+
order: ASC
164161
exposed: false
165162
expose:
166163
label: ''
167-
granularity: second
164+
entity_type: node
165+
entity_field: nid
166+
plugin_id: standard
167+
168168
header: { }
169169
footer: { }
170170
empty: { }

tests/src/Kernel/ViewsTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ class ViewsTest extends ViewsTestBase {
1515
*/
1616
protected function defaultCacheContexts() {
1717
return array_merge([
18-
'languages:language_content',
19-
'languages:language_interface',
2018
'user.permissions',
2119
'user.node_grants:view',
2220
], parent::defaultCacheContexts());
@@ -292,7 +290,7 @@ public function testSingleValueBundleFilterView() {
292290
], $this->defaultCacheMetaData()->addCacheTags([
293291
'config:views.view.graphql_bundle_test',
294292
'config:views.view.graphql_test',
295-
'node:9',
293+
'node:1',
296294
'node_list',
297295
]));
298296
}

0 commit comments

Comments
 (0)