@@ -2,7 +2,7 @@ const fs = require("fs");
2
2
const path = require ( "node:path" ) ;
3
3
const {
4
4
deployAndRun,
5
- authTypes ,
5
+ stepzen ,
6
6
getTestDescription,
7
7
} = require ( "../../../tests/gqltest.js" ) ;
8
8
@@ -22,7 +22,6 @@ describe(testDescription, function () {
22
22
name : "Leia Organa" ,
23
23
} ,
24
24
} ,
25
- authType : authTypes . adminKey ,
26
25
} ,
27
26
{
28
27
label : "person" ,
@@ -33,7 +32,6 @@ describe(testDescription, function () {
33
32
name : "Han Solo" ,
34
33
} ,
35
34
} ,
36
- authType : authTypes . adminKey ,
37
35
} ,
38
36
{
39
37
label : "defaultHero" ,
@@ -44,7 +42,6 @@ describe(testDescription, function () {
44
42
name : "R2-D2" ,
45
43
} ,
46
44
} ,
47
- authType : authTypes . adminKey ,
48
45
} ,
49
46
{
50
47
label : "luke" ,
@@ -55,7 +52,6 @@ describe(testDescription, function () {
55
52
name : "Luke Skywalker" ,
56
53
} ,
57
54
} ,
58
- authType : authTypes . adminKey ,
59
55
} ,
60
56
{
61
57
label : "robot" ,
@@ -66,7 +62,6 @@ describe(testDescription, function () {
66
62
name : "C-3PO" ,
67
63
} ,
68
64
} ,
69
- authType : authTypes . adminKey ,
70
65
} ,
71
66
{
72
67
label : "robotDefault" ,
@@ -77,7 +72,6 @@ describe(testDescription, function () {
77
72
name : "R2-D2" ,
78
73
} ,
79
74
} ,
80
- authType : authTypes . adminKey ,
81
75
} ,
82
76
{
83
77
label : "humanName" ,
@@ -86,7 +80,6 @@ describe(testDescription, function () {
86
80
expected : {
87
81
humanName : "Leia Organa" ,
88
82
} ,
89
- authType : authTypes . adminKey ,
90
83
} ,
91
84
{
92
85
label : "droidFriends" ,
@@ -112,7 +105,6 @@ describe(testDescription, function () {
112
105
} ,
113
106
] ,
114
107
} ,
115
- authType : authTypes . adminKey ,
116
108
} ,
117
109
{
118
110
label : "humanFriendsNames" ,
@@ -121,8 +113,7 @@ describe(testDescription, function () {
121
113
expected : {
122
114
humanFriendsNames : [ "C-3PO" , "Han Solo" , "Luke Skywalker" , "R2-D2" ] ,
123
115
} ,
124
- authType : authTypes . adminKey ,
125
116
} ,
126
117
] ;
127
- return deployAndRun ( __dirname , tests ) ;
118
+ return deployAndRun ( __dirname , tests , stepzen . admin ) ;
128
119
} ) ;
0 commit comments