MCPcopy
hub / github.com/parse-community/parse-server / createTestUser

Function createTestUser

spec/helper.js:308–313  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

306}
307
308function createTestUser() {
309 const user = new Parse.User();
310 user.set('username', 'test');
311 user.set('password', 'moon-y');
312 return user.signUp();
313}
314
315// Shims for compatibility with the old qunit tests.
316function ok(bool, message) {

Callers 5

Schema.spec.jsFile · 0.85
testLoadRolesFunction · 0.85
ParseRole.spec.jsFile · 0.85
ParseAPI.spec.jsFile · 0.85

Calls

no outgoing calls

Tested by 1

testLoadRolesFunction · 0.68