From d4177ba3701c39ddd603f3cb00053f02a9052f5e Mon Sep 17 00:00:00 2001 From: Sattvik Chakravarthy Date: Mon, 26 Feb 2024 17:17:46 +0530 Subject: [PATCH] fix: mau related tests --- src/test/java/io/supertokens/test/FeatureFlagTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/io/supertokens/test/FeatureFlagTest.java b/src/test/java/io/supertokens/test/FeatureFlagTest.java index 6ddfafbdf..b8ba04caf 100644 --- a/src/test/java/io/supertokens/test/FeatureFlagTest.java +++ b/src/test/java/io/supertokens/test/FeatureFlagTest.java @@ -97,7 +97,7 @@ public void noLicenseKeyShouldHaveEmptyFeatureFlag() JsonObject stats = FeatureFlag.getInstance(process.getProcess()).getPaidFeatureStats(); Assert.assertEquals(stats.entrySet().size(), 1); - Assert.assertEquals(stats.get("maus").getAsJsonArray().size(), 30); + Assert.assertEquals(stats.get("maus").getAsJsonArray().size(), 31); Assert.assertEquals(stats.get("maus").getAsJsonArray().get(0).getAsInt(), 0); Assert.assertEquals(stats.get("maus").getAsJsonArray().get(29).getAsInt(), 0); @@ -251,7 +251,7 @@ public void testThatCallingGetFeatureFlagAPIReturnsTotpStats() throws Exception } assert features.contains(new JsonPrimitive("totp")); - assert maus.size() == 30; + assert maus.size() == 31; assert maus.get(0).getAsInt() == 2; // 2 users have signed up assert maus.get(29).getAsInt() == 2;