Skip to content

Commit

Permalink
fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
ashutoshkumar-plivo committed Nov 8, 2023
1 parent 4842e64 commit 2339228
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/test/java/com/plivo/api/VerifySessionTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import com.plivo.api.models.message.MessageDirection;
import com.plivo.api.models.message.MessageState;
import com.plivo.api.models.verify_session.VerifySession;
import com.plivo.api.models.verify_session.VerifySessionList;
import org.junit.Before;
import org.junit.Test;

Expand Down Expand Up @@ -68,7 +69,7 @@ public void getSession() throws Exception {
public void listSession() throws Exception {
expectResponse("listSession.json", 202);

ListResponse<VerifySession> response = VerifySession.lister()
ListResponse<VerifySessionList> response = VerifySession.lister()
.list();
assertEquals("10.0.23.253", response.getSessions().get(0).getRequestorIP());

Expand Down

0 comments on commit 2339228

Please sign in to comment.