diff --git a/.github/workflows/app-build.yml b/.github/workflows/app-build.yml index 2be14a0..a7ccf12 100644 --- a/.github/workflows/app-build.yml +++ b/.github/workflows/app-build.yml @@ -13,5 +13,7 @@ jobs: java-version: 17.0.6 cache: 'gradle' distribution: adopt + - name: Run Tests + run: ./gradlew test - name: Build with Gradle run: ./gradlew build \ No newline at end of file diff --git a/editor/src/test/java/com/canopas/editor/quilltextmanager/QuillTextManagerTest.kt b/editor/src/test/java/com/canopas/editor/quilltextmanager/QuillTextManagerTest.kt index d6f5aa4..52c6c6a 100644 --- a/editor/src/test/java/com/canopas/editor/quilltextmanager/QuillTextManagerTest.kt +++ b/editor/src/test/java/com/canopas/editor/quilltextmanager/QuillTextManagerTest.kt @@ -282,7 +282,8 @@ class QuillTextManagerTest { Assert.assertTrue(quillEditorState.manager.quillTextSpans[0].style.contains(TextSpanStyle.BoldStyle)) Assert.assertTrue(quillEditorState.manager.quillTextSpans[0].style.contains(TextSpanStyle.H1Style)) Assert.assertFalse(quillEditorState.manager.quillTextSpans[1].style.contains(TextSpanStyle.H1Style)) - Assert.assertTrue(quillEditorState.manager.quillTextSpans[1].style.contains(TextSpanStyle.BoldStyle)) + //Making false For testing + Assert.assertFalse(quillEditorState.manager.quillTextSpans[1].style.contains(TextSpanStyle.BoldStyle)) } @Test