Skip to content

Commit 6b3b882

Browse files
fix: response check in test
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
1 parent 923e70e commit 6b3b882

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/io/supertokens/test/bulkimport/apis/ImportUserTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -344,8 +344,8 @@ public void shouldImportSucceedWithoutAccountLinkingEnabled() throws Exception {
344344
"http://localhost:3567/bulk-import/import",
345345
request, 1000, 1000, null, Utils.getCdiVersionStringLatestForTests(), null);
346346

347-
assertEquals("OK", response.get("status").getAsString());
348-
assertNotNull(response.get("user"));
347+
assertEquals("OK", response2.get("status").getAsString());
348+
assertNotNull(response2.get("user"));
349349

350350
process.kill();
351351
Assert.assertNotNull(process.checkOrWaitForEvent(ProcessState.PROCESS_STATE.STOPPED));

0 commit comments

Comments
 (0)