mirror of
https://github.com/dadosfera/maestro.git
synced 2026-11-01 18:39:08 +00:00
Duc Client Refactor
This commit is contained in:
@@ -7,7 +7,7 @@ import { DadosferaLogger } from '@dadosfera/dadosfera-logs';
|
||||
import { RolesModule } from '../roles/roles.module';
|
||||
import { PermissionsModule } from '../permissions/permissions.module';
|
||||
|
||||
const ducClient = new DucClient();
|
||||
const client = new DucClient();
|
||||
|
||||
const logger = {
|
||||
info: (...args) => args,
|
||||
@@ -19,12 +19,7 @@ describe('UsersController', () => {
|
||||
beforeEach(async () => {
|
||||
const module: TestingModule = await Test.createTestingModule({
|
||||
imports: [
|
||||
ClientsModule.register([
|
||||
{
|
||||
name: 'DUC_PACKAGE',
|
||||
...ducClient.config(),
|
||||
},
|
||||
]),
|
||||
ClientsModule.register([client.providerOptions]),
|
||||
RolesModule,
|
||||
PermissionsModule,
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user