Fix library flags test
This commit is contained in:
parent
5742d2e3fe
commit
6db1637770
13
.github/workflows/build_push_preview.yml
vendored
13
.github/workflows/build_push_preview.yml
vendored
@ -14,8 +14,14 @@ jobs:
|
||||
- name: Clone repo
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Validate Gradle Wrapper
|
||||
uses: gradle/actions/wrapper-validation@v4
|
||||
- name: Set up JDK
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: 17
|
||||
distribution: temurin
|
||||
|
||||
- name: Set up gradle
|
||||
uses: gradle/actions/setup-gradle@v4
|
||||
|
||||
- name: Create Tag
|
||||
run: |
|
||||
@ -28,3 +34,6 @@ jobs:
|
||||
-H 'Accept: application/vnd.github.everest-preview+json' \
|
||||
-u ${{ secrets.ACCESS_TOKEN }} \
|
||||
--data '{"event_type": "ping", "client_payload": { "repository": "'"$GITHUB_REPOSITORY"'" }}'
|
||||
|
||||
- name: Run unit tests
|
||||
run: ./gradlew testDebugUnitTest testDevDebugUnitTest
|
||||
|
@ -12,7 +12,7 @@ class LibraryFlagsTest {
|
||||
@Test
|
||||
fun `Check the amount of flags`() {
|
||||
LibraryDisplayMode.values.size shouldBe 4
|
||||
LibrarySort.types.size shouldBe 10
|
||||
LibrarySort.types.size shouldBe 11
|
||||
LibrarySort.directions.size shouldBe 2
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user