Skip to content
Snippets Groups Projects

Authentication and backend fusion update

Merged Brett Choquet requested to merge feature/update-CICD into develop
165 files
+ 7107
3431
Compare changes
  • Side-by-side
  • Inline
Files
165
+ 0
31
'use strict'
const { Group, GroupsPolicy, GroupUser } = require('../../app/models/Group')
describe("Testing 1Group entitiy", () => {
it('Insert new Group', async () => {
await Group.create({
name: "Test name for the Group 2.",
name: "Test description for the Group 2.",
user_id: 1
})
})
})
describe("Testing 2GroupsPolicy entity", () => {
it("Insert new GroupsPolicy", async () => {
await GroupsPolicy.create({
group_id: 1,
policy_id: 1
})
})
})
describe("Testing 3GroupUser entity", () => {
it("Insert new GroupUser", async () => {
await GroupUser.create({
group_id: 1,
user_id: 1
})
})
})
\ No newline at end of file
Loading