Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,11 @@ class GitHubOAuthDeviceFlowGatewayTest {
caughtException?.message
)
assertTrue(caughtException?.cause is GitHubNetworkException)
assertEquals("Simulated network failure", caughtException?.cause?.cause?.message)
var rootCause = caughtException?.cause
while (rootCause?.cause != null) {
rootCause = rootCause.cause
}
assertEquals("Simulated network failure", rootCause?.message)
Comment thread
SayanthRock marked this conversation as resolved.
Comment thread
SayanthRock marked this conversation as resolved.

verify(exactly = 4) {
gateway invoke "postForm" withArguments listOf(any<String>(), any<Map<String, String>>())
Expand Down
12 changes: 0 additions & 12 deletions test-plan.md

This file was deleted.

Loading