fix: Remove the endpoint to create a user (#8629)

This commit is contained in:
Stevche Radevski
2024-08-16 16:12:32 +02:00
committed by GitHub
parent 5200e816c9
commit 0f240137e9
3 changed files with 3 additions and 48 deletions

View File

@@ -12,7 +12,8 @@ medusaIntegrationTestRunner({
await createAdminUser(dbConnection, adminHeaders, getContainer())
})
it.only("test the entire authentication flow", async () => {
// TODO: This test won't work since we don't allow creating a user through HTTP. We need to have the invite flow plugged in here.
it.skip("test the entire authentication flow", async () => {
// BREAKING: `/admin/auth` changes to `/auth/user/emailpass`
const signup = await api.post("/auth/user/emailpass", {
email: "newadmin@medusa.js",