File tree Expand file tree Collapse file tree 6 files changed +23
-15
lines changed
modules/graphql_core/tests Expand file tree Collapse file tree 6 files changed +23
-15
lines changed Original file line number Diff line number Diff line change 1515 matrix :
1616 - DRUPAL_CORE=8.3.x
1717 - DRUPAL_CORE=8.4.x
18+ - DRUPAL_CORE=8.5.x
1819
1920matrix :
2021 # Don't wait for the allowed failures to build.
Original file line number Diff line number Diff line change @@ -76,7 +76,9 @@ query ($path: String!) {
7676 description
7777 entity {
7878 url
79- uri
79+ # uri {
80+ # value
81+ # }
8082 }
8183 }
8284 fieldImage {
@@ -87,7 +89,9 @@ query ($path: String!) {
8789 height
8890 entity {
8991 url
90- uri
92+ # uri {
93+ # value
94+ # }
9195 }
9296 }
9397 }
Original file line number Diff line number Diff line change @@ -410,18 +410,22 @@ public function nodeValuesProvider() {
410410 'fieldFile ' => [
411411 [
412412 'targetId ' => 1 ,
413- 'display ' => 0 ,
413+ 'display ' => FALSE ,
414414 'description ' => 'description test 1 ' ,
415415 'entity ' => [
416- 'uri ' => 'public://example.txt ' ,
416+ // 'uri' => [
417+ // 'value' => 'public://example.txt',
418+ // ],
417419 ],
418420 ],
419421 [
420422 'targetId ' => 2 ,
421- 'display ' => 1 ,
423+ 'display ' => TRUE ,
422424 'description ' => 'description test 2 ' ,
423425 'entity ' => [
424- 'uri ' => 'public://example.png ' ,
426+ // 'uri' => [
427+ // 'value' => 'public://example.png',
428+ // ],
425429 ],
426430 ],
427431 ],
@@ -433,7 +437,9 @@ public function nodeValuesProvider() {
433437 'width ' => 100 ,
434438 'height ' => 50 ,
435439 'entity ' => [
436- 'uri ' => 'public://example.txt ' ,
440+ // 'uri' => [
441+ // 'value' => 'public://example.txt',
442+ // ],
437443 ],
438444 ],
439445 [
@@ -443,7 +449,9 @@ public function nodeValuesProvider() {
443449 'width ' => 200 ,
444450 'height ' => 100 ,
445451 'entity ' => [
446- 'uri ' => 'public://example.png ' ,
452+ // 'uri' => [
453+ // 'value' => 'public://example.png',
454+ // ],
447455 ],
448456 ],
449457 ],
Original file line number Diff line number Diff line change @@ -97,7 +97,6 @@ protected function setUp() {
9797 $ this ->injectTypeSystemPluginManagers ($ this ->container );
9898
9999 PHPUnit_Framework_Error_Warning::$ enabled = FALSE ;
100- PHPUnit_Framework_Error_Notice::$ enabled = FALSE ;
101100
102101 $ this ->injectAccount ();
103102 $ this ->installConfig ('system ' );
Original file line number Diff line number Diff line change @@ -12,8 +12,6 @@ trait EnableCliCacheTrait {
1212
1313 /**
1414 * Enable caching in CLI environments.
15- *
16- * @before
1715 */
1816 protected function enableCliCache () {
1917 // Disable the cli deny policy because we actually want caching on cli
@@ -22,4 +20,4 @@ protected function enableCliCache() {
2220 $ cliPolicy ->check (Argument::cetera ())->willReturn (NULL );
2321 $ this ->container ->set ('graphql.request_policy.deny_command_line ' , $ cliPolicy ->reveal ());
2422 }
25- }
23+ }
Original file line number Diff line number Diff line change @@ -36,8 +36,6 @@ protected function userRoles() {
3636
3737 /**
3838 * Bypass user access.
39- *
40- * @before
4139 */
4240 protected function injectAccount () {
4341 // Replace the current user with a prophecy that has the defined
@@ -61,4 +59,4 @@ protected function injectAccount() {
6159 $ this ->accountProphecy = $ user ;
6260 $ this ->container ->set ('current_user ' , $ user ->reveal ());
6361 }
64- }
62+ }
You can’t perform that action at this time.
0 commit comments