Skip to content

Commit

Permalink
chore: trying to fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
izaaz committed Jun 11, 2024
1 parent 54087fa commit b2990d1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/test/java/com/amplitude/api/PinningTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import org.robolectric.annotation.Config;
import org.robolectric.shadows.ShadowLooper;

import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;

Expand Down Expand Up @@ -91,7 +92,7 @@ public void testSslPinningSwitch() {
amplitude.lastError.printStackTrace();
}

assertNull(amplitude.lastError);
assertEquals("", amplitude.lastError);
}

@Test
Expand Down

0 comments on commit b2990d1

Please sign in to comment.