Skip to content
Snippets Groups Projects
Commit 4ffe6681 authored by Marius's avatar Marius
Browse files

asdasd

parent d0d0d4e2
No related branches found
No related tags found
No related merge requests found
Pipeline #25409 passed
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
import Sequelize from 'sequelize'; import Sequelize from 'sequelize';
import type { Model } from 'sequelize'; import type { Model } from 'sequelize';
let sequelize = new Sequelize( export let sequelize = new Sequelize(
process.env.CI ? 'testDB' : 'mariunyg', process.env.CI ? 'testDB' : 'mariunyg',
process.env.CI ? 'root' : 'mariunyg', process.env.CI ? 'root' : 'mariunyg',
'Y8tBCRRT', 'Y8tBCRRT',
......
...@@ -4,7 +4,7 @@ import { databaseArticle, databaseCategory, CategoryData, Article, sequelize } f ...@@ -4,7 +4,7 @@ import { databaseArticle, databaseCategory, CategoryData, Article, sequelize } f
import Sequelize from 'sequelize'; import Sequelize from 'sequelize';
beforeAll(() => { beforeAll(() => {
return databaseArticle.sync({ force: true }).then(() => { return sequelize.sync({ force: true }).then(() => {
databaseArticle databaseArticle
.create( .create(
new Article( new Article(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment