mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-04-12 19:05:19 +00:00
auth: fixes unit and e2e tests
adds MockAuthGuard which always return user 'hardcoded' Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
parent
d0c5d64627
commit
b84d0f7cab
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ import { Test, TestingModule } from '@nestjs/testing';
|
|||
import { AuthService } from './auth.service';
|
||||
import { PassportModule } from '@nestjs/passport';
|
||||
import { getRepositoryToken } from '@nestjs/typeorm';
|
||||
import { AuthToken } from './auth-token.entity';
|
||||
import { AuthToken } from '../users/auth-token.entity';
|
||||
import { User } from '../users/user.entity';
|
||||
import { UsersModule } from '../users/users.module';
|
||||
import { Identity } from '../users/identity.entity';
|
||||
|
|
Loading…
Add table
Reference in a new issue