Remove v1-related code from medusa app (#7326)
* chore: Remove unused validations and utilities * chore: Remove all resources that are not being loaded * chore: Remove unused dependencies, typeorm related code and fix tests * chore: Use createAdminUser in all module tests
This commit is contained in:
@@ -9,9 +9,6 @@ module.exports = async (dataSource, data = {}) => {
|
||||
const user = await manager.insert("user", {
|
||||
id: "admin_user",
|
||||
email: "admin@medusa.js",
|
||||
api_token: "test_token",
|
||||
role: "admin",
|
||||
password_hash,
|
||||
...data,
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user