Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REFACTOR]: 코드 정리 #85

Merged
merged 1 commit into from
Aug 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,14 @@ import com.fasterxml.jackson.databind.JsonNode
import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper
import com.myongjiway.clientmqtt.util.AwsIotUtil
import com.myongjiway.core.domain.buslocation.BusLocation
import com.myongjiway.core.domain.buslocation.BusLocationService
import org.springframework.beans.factory.annotation.Value
import org.springframework.context.annotation.Bean
import org.springframework.context.annotation.Configuration

@Configuration
class MqttClientConfig(
private val busLocationService: com.myongjiway.core.domain.buslocation.BusLocationService,
private val busLocationService: BusLocationService,
) {

@Value("\${aws.iot.endpoint}")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.myongjiway.user

import com.myongjiway.core.domain.user.UserService
import com.myongjiway.core.domain.user.UserUpdater
import io.kotest.core.spec.style.FeatureSpec
import io.mockk.every
Expand All @@ -9,12 +10,12 @@ import io.mockk.verify
class UserServiceTest :
FeatureSpec(
{
lateinit var userService: com.myongjiway.core.domain.user.UserService
lateinit var userService: UserService
lateinit var userUpdater: UserUpdater

beforeTest {
userUpdater = mockk()
userService = com.myongjiway.core.domain.user.UserService(userUpdater)
userService = UserService(userUpdater)
}

feature("유저 비활성화") {
Expand Down
Loading