Skip to content

Commit

Permalink
Fixed test not passing correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
markdeluk committed Dec 10, 2023
1 parent e7c2b52 commit 7ff1290
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion api/src/application/applications.service.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ describe('ApplicationsService', () => {
const applicantId = 'abc123';
const folderId = 'folder_abc123';
const fileId = 'file_abc123';
const today = '1/1/2023, 24:00:00';
const today = '1/1/2023, 00:00:00';
let mockApplication, mockCreateApplicationDTO;
switch (applicationType) {
case ApplicationType.BSC:
Expand Down
4 changes: 2 additions & 2 deletions api/src/availability/availability.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ import { Availability } from './availability.entity';
import Joi from 'joi';

@ApiBearerAuth()
@ApiTags('timeslots')
@Controller('timeslots')
@ApiTags('availability')
@Controller('availability')
export class AvailabilityController {
constructor(private readonly availabilityService: AvailabilityService) {}

Expand Down
2 changes: 1 addition & 1 deletion api/src/mocks/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,4 +155,4 @@ export const applicationFiles = {
export const applicantId = 'abc123';
export const folderId = 'folder_abc123';
export const fileId = 'file_abc123';
export const today = '1/1/2023, 24:00:00';
export const today = '1/1/2023, 00:00:00';

0 comments on commit 7ff1290

Please sign in to comment.