@@ -3501,7 +3501,7 @@ describe('ParseGraphQLServer', () => {
35013501 fail ( 'should fail' ) ;
35023502 } catch ( e ) {
35033503 expect ( e . graphQLErrors [ 0 ] . extensions . code ) . toEqual ( Parse . Error . OPERATION_FORBIDDEN ) ;
3504- expect ( e . graphQLErrors [ 0 ] . message ) . toEqual ( 'unauthorized: master key is required ' ) ;
3504+ expect ( e . graphQLErrors [ 0 ] . message ) . toEqual ( 'Permission denied ' ) ;
35053505 }
35063506 } ) ;
35073507
@@ -3871,7 +3871,7 @@ describe('ParseGraphQLServer', () => {
38713871 fail ( 'should fail' ) ;
38723872 } catch ( e ) {
38733873 expect ( e . graphQLErrors [ 0 ] . extensions . code ) . toEqual ( Parse . Error . OPERATION_FORBIDDEN ) ;
3874- expect ( e . graphQLErrors [ 0 ] . message ) . toEqual ( 'unauthorized: master key is required ' ) ;
3874+ expect ( e . graphQLErrors [ 0 ] . message ) . toEqual ( 'Permission denied ' ) ;
38753875 }
38763876 } ) ;
38773877
@@ -4096,7 +4096,7 @@ describe('ParseGraphQLServer', () => {
40964096 fail ( 'should fail' ) ;
40974097 } catch ( e ) {
40984098 expect ( e . graphQLErrors [ 0 ] . extensions . code ) . toEqual ( Parse . Error . OPERATION_FORBIDDEN ) ;
4099- expect ( e . graphQLErrors [ 0 ] . message ) . toEqual ( 'unauthorized: master key is required ' ) ;
4099+ expect ( e . graphQLErrors [ 0 ] . message ) . toEqual ( 'Permission denied ' ) ;
41004100 }
41014101 } ) ;
41024102
@@ -4137,7 +4137,7 @@ describe('ParseGraphQLServer', () => {
41374137 fail ( 'should fail' ) ;
41384138 } catch ( e ) {
41394139 expect ( e . graphQLErrors [ 0 ] . extensions . code ) . toEqual ( Parse . Error . OPERATION_FORBIDDEN ) ;
4140- expect ( e . graphQLErrors [ 0 ] . message ) . toEqual ( 'unauthorized: master key is required ' ) ;
4140+ expect ( e . graphQLErrors [ 0 ] . message ) . toEqual ( 'Permission denied ' ) ;
41414141 }
41424142 } ) ;
41434143
@@ -4155,7 +4155,7 @@ describe('ParseGraphQLServer', () => {
41554155 fail ( 'should fail' ) ;
41564156 } catch ( e ) {
41574157 expect ( e . graphQLErrors [ 0 ] . extensions . code ) . toEqual ( Parse . Error . OPERATION_FORBIDDEN ) ;
4158- expect ( e . graphQLErrors [ 0 ] . message ) . toEqual ( 'unauthorized: master key is required ' ) ;
4158+ expect ( e . graphQLErrors [ 0 ] . message ) . toEqual ( 'Permission denied ' ) ;
41594159 }
41604160 } ) ;
41614161 } ) ;
@@ -6081,7 +6081,7 @@ describe('ParseGraphQLServer', () => {
60816081 }
60826082
60836083 await expectAsync ( createObject ( 'GraphQLClass' ) ) . toBeRejectedWith (
6084- jasmine . stringMatching ( 'Permission denied for action create on class GraphQLClass ' )
6084+ jasmine . stringMatching ( 'Permission denied' )
60856085 ) ;
60866086 await expectAsync ( createObject ( 'PublicClass' ) ) . toBeResolved ( ) ;
60876087 await expectAsync (
@@ -6115,7 +6115,7 @@ describe('ParseGraphQLServer', () => {
61156115 'X-Parse-Session-Token' : user4 . getSessionToken ( ) ,
61166116 } )
61176117 ) . toBeRejectedWith (
6118- jasmine . stringMatching ( 'Permission denied for action create on class GraphQLClass ' )
6118+ jasmine . stringMatching ( 'Permission denied' )
61196119 ) ;
61206120 await expectAsync (
61216121 createObject ( 'PublicClass' , {
0 commit comments