Skip to content

Commit 2685650

Browse files
committed
Modify the test
1 parent 5976371 commit 2685650

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

common4j/src/test/com/microsoft/identity/common/java/nativeauth/providers/NativeAuthRequestHandlerTest.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ class NativeAuthRequestHandlerTest {
152152
}
153153

154154
@Test
155-
fun testSignUpStartWithUnsetCorrelationIdShouldNotHaveHeader() {
155+
fun testSignUpStartWithUnsetCorrelationIdShouldFilterOutToUUID() {
156156
val commandParameters = SignUpStartCommandParameters.builder()
157157
.platformComponents(mock<PlatformComponents>())
158158
.username(username)
@@ -164,7 +164,7 @@ class NativeAuthRequestHandlerTest {
164164
commandParameters = commandParameters
165165
)
166166

167-
assertNull(result.headers[AuthenticationConstants.AAD.CLIENT_REQUEST_ID])
167+
Assert.assertNotEquals(result.headers[AuthenticationConstants.AAD.CLIENT_REQUEST_ID], "UNSET")
168168
}
169169

170170
@Test

0 commit comments

Comments
 (0)