Skip to content

Commit

Permalink
Don't create StupsTokenComponent in NakadiClientEncodingIT
Browse files Browse the repository at this point in the history
  • Loading branch information
ePaul committed Aug 15, 2023
1 parent 3bbdf4d commit b075c49
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.test.mock.mockito.MockBean;
import org.zalando.fahrschein.http.api.ContentEncoding;
import org.zalando.fahrschein.http.api.RequestFactory;
import org.zalando.nakadiproducer.config.EmbeddedDataSourceConfig;
Expand All @@ -25,6 +26,11 @@
)
public class NakadiClientContentEncodingIT {

// Avoid errors in the logs from the AccessTokenRefresher. As we are not actually submitting
// to Nakadi, this will never be used.
@MockBean
private AccessTokenProvider tokenProvider;

@Autowired
private RequestFactory requestFactory;

Expand Down

0 comments on commit b075c49

Please sign in to comment.