File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,6 @@ public void tearDown() {
7777 }
7878
7979 @ Test
80- @ Throws (IOException .class )
8180 public void test () throws IOException {
8281 Client client = new Client (ApplicationProvider .getApplicationContext ())
8382 .setEndpointRealtime ("wss://demo.appwrite.io/v1" )
@@ -89,10 +88,10 @@ public void test() throws IOException {
8988 Bar bar = new Bar (client );
9089 General general = new General (client );
9190 Realtime realtime = new Realtime (client );
92- String realtimeResponse = "Realtime failed!" ;
91+ String [] realtimeResponse = { "Realtime failed!" } ;
9392
9493 realtime .subscribe ("tests" , TestPayload .class , payload -> {
95- realtimeResponse = payload .getResponse ();
94+ realtimeResponse [ 0 ] = payload .getResponse ();
9695 return null ;
9796 });
9897
You can’t perform that action at this time.
0 commit comments