website refactor
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { describe, expect, it, beforeEach } from 'vitest';
|
||||
import { RatingEvent } from '../../domain/entities/RatingEvent';
|
||||
import { RatingEventRepository } from '../../domain/repositories/RatingEventRepository';
|
||||
import { UserRatingRepository } from '../../domain/repositories/UserRatingRepository';
|
||||
@@ -148,7 +149,6 @@ describe('RecordRaceRatingEventsUseCase - Integration', () => {
|
||||
);
|
||||
useCase = new RecordRaceRatingEventsUseCase(
|
||||
raceResultsProvider,
|
||||
ratingEventRepository,
|
||||
userRatingRepository,
|
||||
appendRatingEventsUseCase
|
||||
);
|
||||
|
||||
@@ -130,7 +130,6 @@ describe('RecordRaceRatingEventsUseCase', () => {
|
||||
);
|
||||
useCase = new RecordRaceRatingEventsUseCase(
|
||||
mockRaceResultsProvider,
|
||||
mockRatingEventRepository,
|
||||
mockUserRatingRepository,
|
||||
appendRatingEventsUseCase
|
||||
);
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import { RatingEventRepository } from '../../domain/repositories/RatingEventRepository';
|
||||
import { UserRatingRepository } from '../../domain/repositories/UserRatingRepository';
|
||||
import { RatingEventFactory } from '../../domain/services/RatingEventFactory';
|
||||
import { RecordRaceRatingEventsInput, RecordRaceRatingEventsOutput } from '../dtos/RecordRaceRatingEventsDto';
|
||||
@@ -23,7 +22,6 @@ import { AppendRatingEventsUseCase } from './AppendRatingEventsUseCase';
|
||||
export class RecordRaceRatingEventsUseCase {
|
||||
constructor(
|
||||
private readonly raceResultsProvider: RaceResultsProvider,
|
||||
private readonly ratingEventRepository: RatingEventRepository,
|
||||
private readonly userRatingRepository: UserRatingRepository,
|
||||
private readonly appendRatingEventsUseCase: AppendRatingEventsUseCase,
|
||||
) {}
|
||||
|
||||
Reference in New Issue
Block a user