File tree Expand file tree Collapse file tree 1 file changed +2
-11
lines changed
Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -771,8 +771,7 @@ public function testDebugMessageNotShownIfInterfaceFieldHasArgs() {
771771 'type ' => 'String ' ,
772772 'args ' => [
773773 'interfaceArg ' => [
774- 'type ' => 'String ' ,
775- 'defaultValue ' => 'interfaceArg ' ,
774+ 'type ' => 'Boolean ' ,
776775 ],
777776 ],
778777 'resolve ' => function () {
@@ -794,12 +793,6 @@ public function testDebugMessageNotShownIfInterfaceFieldHasArgs() {
794793 // so it should inherit the arguments from the interface
795794 'fieldWithArgs ' => [
796795 'type ' => 'String ' ,
797- 'args ' => [
798- 'anotherInterfaceArg ' => [
799- 'type ' => 'String ' ,
800- 'defaultValue ' => 'anotherInterfaceArg ' ,
801- ],
802- ],
803796 'resolve ' => function () {
804797 return null ;
805798 },
@@ -831,14 +824,12 @@ public function testDebugMessageNotShownIfInterfaceFieldHasArgs() {
831824
832825 $ query = 'query {
833826 testField {
834- fieldWithArgs(interfaceArg: "test" )
827+ fieldWithArgs(interfaceArg: true )
835828 }
836829 } ' ;
837830
838831 $ actual = $ this ->graphql ( [ 'query ' => $ query ] );
839832
840-
841-
842833 $ this ->assertEmpty ( $ actual ['extensions ' ]['debug ' ], 'The interface should be implemented with no debug messages. ' );
843834 $ this ->assertQuerySuccessful (
844835 $ actual ,
You can’t perform that action at this time.
0 commit comments