Skip to content

Commit

Permalink
remove thisssss
Browse files Browse the repository at this point in the history
Signed-off-by: Shoham Elias <[email protected]>
  • Loading branch information
shohamazon committed Sep 12, 2024
1 parent b667e6c commit cb110a0
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions java/client/src/test/java/glide/api/GlideClientTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -1582,29 +1582,6 @@ public void invokeScript_with_ScriptOptionsGlideString_returns_success() {
assertEquals(payload, response.get());
}

/*@SneakyThrows
@Test
public void scriptShow_returns_script_source() {
// setup
String scriptSource = "return { KEYS[1], ARGV[1] }";
Script script = mock(Script.class);
String hash = UUID.randomUUID().toString();
when(script.getHash()).thenReturn(hash);

CompletableFuture<String> testResponse = new CompletableFuture<>();
testResponse.complete(scriptSource);

when(commandManager.<String>submitNewCommand(eq(ScriptShow), eq(new String[] {hash}), any()))
.thenReturn(testResponse);

// exercise
CompletableFuture<String> response = service.scriptShow(hash);

// verify
assertEquals(testResponse, response);
assertEquals(scriptSource, response.get());
}*/

@SneakyThrows
@Test
public void scriptShow_returns_script_source_glidestring() {
Expand Down

0 comments on commit cb110a0

Please sign in to comment.