MCPcopy Index your code
hub / github.com/parse-community/parse-server / validateCannotAuthenticateError

Function validateCannotAuthenticateError

spec/OAuth1.spec.js:80–88  ·  view source on GitHub ↗
(data, done)

Source from the content-addressed store, hash-verified

78 });
79
80 function validateCannotAuthenticateError(data, done) {
81 jequal(typeof data, 'object');
82 jequal(typeof data.errors, 'object');
83 const errors = data.errors;
84 jequal(typeof errors[0], 'object');
85 // Cannot authenticate error
86 jequal(errors[0].code, 32);
87 done();
88 }
89
90 xit('GET request for a resource that requires OAuth should fail with invalid credentials', done => {
91 /*

Callers 1

OAuth1.spec.jsFile · 0.85

Calls 1

jequalFunction · 0.85

Tested by

no test coverage detected