Skip to content
Open
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 @@ -60,6 +60,7 @@ public class StethoInterceptorTest {
@Rule
public PowerMockRule rule = new PowerMockRule();

private final int HTTP_OK = 200;
private NetworkEventReporter mMockEventReporter;
private StethoInterceptor mInterceptor;
private OkHttpClient mClientWithInterceptor;
Expand Down Expand Up @@ -96,7 +97,7 @@ public void testHappyPath() throws IOException {
Response reply = new Response.Builder()
.request(request)
.protocol(Protocol.HTTP_1_1)
.code(200)
.code(HTTP_OK)
.body(ResponseBody.create(MediaType.parse("text/plain"), originalBodyData))
.build();
Response filteredResponse =
Expand Down