chore: move frontend files
This commit is contained in:
18
frontend/cypress/factories/users_project.ts
Normal file
18
frontend/cypress/factories/users_project.ts
Normal file
@ -0,0 +1,18 @@
|
||||
import {Factory} from '../support/factory'
|
||||
|
||||
export class UserProjectFactory extends Factory {
|
||||
static table = 'users_projects'
|
||||
|
||||
static factory() {
|
||||
const now = new Date()
|
||||
|
||||
return {
|
||||
id: '{increment}',
|
||||
project_id: 1,
|
||||
user_id: 1,
|
||||
right: 0,
|
||||
created: now.toISOString(),
|
||||
updated: now.toISOString(),
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user