Skip to content

Commit

Permalink
add bean dependency in functional spec (#1290)
Browse files Browse the repository at this point in the history
  • Loading branch information
srekapalli committed Jul 21, 2020
1 parent 2bc0cf7 commit 20ea9d6
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ import org.springframework.security.config.annotation.web.builders.HttpSecurity
import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
import retrofit.RestAdapter
import retrofit.RetrofitError
import retrofit.RestAdapter;
import retrofit.client.OkClient
import retrofit.mime.TypedInput
import spock.lang.Shared
Expand Down Expand Up @@ -234,6 +235,11 @@ class FunctionalSpec extends Specification {
accountLookupService
}

@Bean
RestAdapter.LogLevel retrofitLogLevel() {
return RestAdapter.LogLevel.BASIC
}

@Bean
PipelineController pipelineController() {
new PipelineController()
Expand Down

0 comments on commit 20ea9d6

Please sign in to comment.