mirror of
https://github.com/signalapp/Signal-Server
synced 2026-08-30 12:54:10 +01:00
Add some extra validation in integration tests
This commit is contained in:
committed by
ravi-signal
parent
7a907bb44d
commit
daa897db93
@@ -5,6 +5,7 @@
|
||||
|
||||
package org.signal.integration;
|
||||
|
||||
import io.micrometer.common.util.StringUtils;
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.whispersystems.textsecuregcm.entities.CreateVerificationSessionRequest;
|
||||
@@ -29,6 +30,8 @@ public class RegistrationTest {
|
||||
.executeExpectSuccess(VerificationSessionResponse.class);
|
||||
|
||||
final String sessionId = verificationSessionResponse.id();
|
||||
Assertions.assertTrue(StringUtils.isNotBlank(sessionId));
|
||||
|
||||
final String pushChallenge = Operations.peekVerificationSessionPushChallenge(sessionId);
|
||||
|
||||
// supply push challenge
|
||||
|
||||
Reference in New Issue
Block a user