File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ import { RawUser } from './utility/fragments';
18
18
describe ( 'Region e2e' , ( ) => {
19
19
let app : TestApp ;
20
20
let director : RawUser ;
21
- let newDirector : RawUser ;
22
21
let fieldZone : FieldZone ;
23
22
24
23
beforeAll ( async ( ) => {
@@ -162,7 +161,7 @@ describe('Region e2e', () => {
162
161
} ) ;
163
162
164
163
const newZone = await createZone ( app , {
165
- directorId : newDirector . id ,
164
+ directorId : director . id ,
166
165
} ) ;
167
166
168
167
const result = await app . graphql . mutate (
@@ -202,6 +201,10 @@ describe('Region e2e', () => {
202
201
it . skip ( 'update region`s director' , async ( ) => {
203
202
const fieldRegion = await createRegion ( app , { directorId : director . id } ) ;
204
203
204
+ const newDirector = await createPerson ( app , {
205
+ roles : [ Role . FieldOperationsDirector , Role . ProjectManager ] ,
206
+ } ) ;
207
+
205
208
const result = await app . graphql . mutate (
206
209
gql `
207
210
mutation updateFieldRegion($input: UpdateFieldRegionInput!) {
You can’t perform that action at this time.
0 commit comments