Fix table names in test fixtures

This commit is contained in:
kolaente 2021-03-30 20:41:05 +02:00
parent ddf62367a2
commit 2e02a82afe
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B
4 changed files with 4 additions and 4 deletions

View file

@ -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()

View file

@ -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()

View file

@ -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()

View file

@ -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()