diff --git a/src/app.controller.spec.ts b/src/app.controller.spec.ts index d22f389..362289e 100644 --- a/src/app.controller.spec.ts +++ b/src/app.controller.spec.ts @@ -16,7 +16,7 @@ describe('AppController', () => { describe('root', () => { it('should return "Hello World!"', () => { - expect(appController.getHello()).toBe('Hello World!'); + expect(appController.getHello()).toBe('This is the main app!'); }); }); }); diff --git a/src/app.module.ts b/src/app.module.ts index 41524a5..e6f266a 100644 --- a/src/app.module.ts +++ b/src/app.module.ts @@ -5,7 +5,15 @@ import { AppController } from './app.controller'; import { AppService } from './app.service'; import { ParticipantModule } from './participant/participant.module'; import { QuestionModule } from './question/question.module'; -// import { TestModule } from './test/test.module'; +import { AnswerModule } from './answer/answer.module'; +import { AttachmentModule } from './attachment/attachment.module'; +import { FormModule } from './form/form.module'; +import { FormPageModule } from './formPage/formPage.module'; +import { FormResultModule } from './formResult/formResult.module'; +import { FormSectionModule } from './formSection/formSection.module'; +import { OptionModule } from './option/option.module'; +import { ParticipanGrouptModule } from './participantGroup/participantGroup.module'; +import { RealmModule } from './realm/realm.module'; @Module({ imports: [ @@ -14,7 +22,16 @@ import { QuestionModule } from './question/question.module'; }), MongooseModule.forRoot(process.env.MONGODB_URI || 'mongodb://localhost:27017/db'), ParticipantModule, - QuestionModule + QuestionModule, + AnswerModule, + AttachmentModule, + FormModule, + FormPageModule, + FormResultModule, + FormSectionModule, + OptionModule, + ParticipanGrouptModule, + RealmModule ], controllers: [AppController], providers: [AppService],