Skip to content

Commit

Permalink
refactor: @Deprecated(forRemoval = true) 처리된 클래스, 메서드 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
seokjin8678 committed Apr 9, 2024
1 parent 3543535 commit d299e17
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 530 deletions.

This file was deleted.

13 changes: 0 additions & 13 deletions backend/src/main/java/com/festago/auth/dto/AdminLoginRequest.java

This file was deleted.

13 changes: 0 additions & 13 deletions backend/src/main/java/com/festago/auth/dto/AdminSignupRequest.java

This file was deleted.

This file was deleted.

This file was deleted.

8 changes: 0 additions & 8 deletions backend/src/main/java/com/festago/stage/domain/Stage.java
Original file line number Diff line number Diff line change
Expand Up @@ -92,14 +92,6 @@ public LocalDateTime getStartTime() {
return startTime;
}

/**
* API 일부에 사용되는 곳이 있기 때문에 deprecated 문자열을 반환하도록 처리
*/
@Deprecated(forRemoval = true)
public String getLineUp() {
return "deprecated";
}

public LocalDateTime getTicketOpenTime() {
return ticketOpenTime;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.festago.acceptance.steps;

import com.festago.acceptance.CucumberClient;
import com.festago.auth.application.AdminAuthService;
import com.festago.auth.dto.AdminLoginRequest;
import com.festago.auth.application.command.AdminAuthCommandService;
import com.festago.auth.dto.command.AdminLoginCommand;
import io.cucumber.java.en.Given;
import org.springframework.beans.factory.annotation.Autowired;

Expand All @@ -12,12 +12,12 @@ public class AdminStepDefinitions {
CucumberClient cucumberClient;

@Autowired
AdminAuthService adminAuthService;
AdminAuthCommandService adminAuthCommandService;

@Given("어드민 계정으로 로그인한다.")
public void loginAdmin() {
adminAuthService.initializeRootAdmin("1234");
String token = adminAuthService.login(new AdminLoginRequest("admin", "1234"));
cucumberClient.setToken(token);
adminAuthCommandService.initializeRootAdmin("1234");
var adminLoginResult = adminAuthCommandService.login(new AdminLoginCommand("admin", "1234"));
cucumberClient.setToken(adminLoginResult.accessToken());
}
}

This file was deleted.

Loading

0 comments on commit d299e17

Please sign in to comment.