Skip to content

Commit ce9a43e

Browse files
committed
Added stacktrace for failure
1 parent 5abda8a commit ce9a43e

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ jobs:
2828

2929
- uses: ./.github/actions/setup
3030

31-
- run: ./gradlew clean test jacocoTestReport lint --continue --console=plain --max-workers=1 --no-daemon
31+
- run: ./gradlew clean testDebugUnitTest --continue --console=plain --max-workers=1 --no-daemon --stacktrace
3232

3333
- uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # pin@5.5.2

auth0/src/test/java/com/auth0/android/provider/WebAuthProviderTest.kt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1724,10 +1724,7 @@ public class WebAuthProviderTest {
17241724
}.`when`(pkce).getToken(eq("1234"), callbackCaptor.capture())
17251725
Assert.assertTrue(resume(intent))
17261726
mockAPI.takeRequest()
1727-
shadowOf(Looper.getMainLooper()).runToEndOfTasks()
1728-
// shadows()
1729-
// ShadowLooper.idleMainLooper()
1730-
// ShadowLooper.idleMainLooper()
1727+
ShadowLooper.idleMainLooper()
17311728
verify(authCallback).onFailure(authExceptionCaptor.capture())
17321729
val error = authExceptionCaptor.firstValue
17331730
assertThat(error, `is`(notNullValue()))

0 commit comments

Comments
 (0)