flattens user into collections
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
exports.email = 'test@test.com';
|
||||
exports.username = 'test@test.com';
|
||||
exports.password = 'test123';
|
||||
|
||||
@@ -8,7 +8,7 @@ const url = config.serverURL;
|
||||
const globalSetup = async () => {
|
||||
global.PAYLOAD_SERVER = server.start();
|
||||
|
||||
const response = await fetch(`${url}/api/first-register`, {
|
||||
const response = await fetch(`${url}/api/users/first-register`, {
|
||||
body: JSON.stringify({
|
||||
username,
|
||||
password,
|
||||
|
||||
Reference in New Issue
Block a user