Fix table names in test fixtures
This commit is contained in:
parent
ddf62367a2
commit
2e02a82afe
4 changed files with 4 additions and 4 deletions
|
@ -2,7 +2,7 @@ import {Factory} from '../support/factory'
|
|||
import {formatISO} from 'date-fns'
|
||||
|
||||
export class LabelTaskFactory extends Factory {
|
||||
static table = 'label_task'
|
||||
static table = 'label_tasks'
|
||||
|
||||
static factory() {
|
||||
const now = new Date()
|
||||
|
|
|
@ -3,7 +3,7 @@ import {formatISO} from "date-fns"
|
|||
import faker from 'faker'
|
||||
|
||||
export class LinkShareFactory extends Factory {
|
||||
static table = 'link_sharing'
|
||||
static table = 'link_shares'
|
||||
|
||||
static factory() {
|
||||
const now = new Date()
|
||||
|
|
|
@ -3,7 +3,7 @@ import {formatISO} from "date-fns"
|
|||
import faker from 'faker'
|
||||
|
||||
export class ListFactory extends Factory {
|
||||
static table = 'list'
|
||||
static table = 'lists'
|
||||
|
||||
static factory() {
|
||||
const now = new Date()
|
||||
|
|
|
@ -2,7 +2,7 @@ import {Factory} from '../support/factory'
|
|||
import {formatISO} from "date-fns"
|
||||
|
||||
export class UserListFactory extends Factory {
|
||||
static table = 'users_list'
|
||||
static table = 'users_lists'
|
||||
|
||||
static factory() {
|
||||
const now = new Date()
|
||||
|
|
Loading…
Reference in a new issue