Skip to content

Commit

Permalink
improve test
Browse files Browse the repository at this point in the history
  • Loading branch information
vendelieu committed Nov 1, 2024
1 parent 18ea4cf commit e60fd5d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
uses: actions/cache@v4
with:
path: ~/.konan
key: ${{ runner.os }}-gradle-${{ hashFiles('*.gradle.kts') }}
key: ${{ runner.os }}-gradle-${{ hashFiles('**/libs.versions.toml')}}
restore-keys: |
${{ runner.os }}-gradle-
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.gh.snap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
uses: actions/cache@v4
with:
path: ~/.konan
key: ${{ runner.os }}-gradle-${{ hashFiles('*.gradle.kts') }}
key: ${{ runner.os }}-gradle-${{ hashFiles('**/libs.versions.toml')}}
restore-keys: |
${{ runner.os }}-gradle-
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
uses: actions/cache@v4
with:
path: ~/.konan
key: ${{ runner.os }}-gradle-${{ hashFiles('*.gradle.kts') }}
key: ${{ runner.os }}-gradle-${{ hashFiles('**/libs.versions.toml')}}
restore-keys: |
${{ runner.os }}-gradle-
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[versions]
ktor = "3.0.0"
ktor = "3.0.1"
redis = "0.1.7"
logging = "2.0.4"
logback = "1.5.12"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,7 @@ class TelegramUpdateHandlerTest : BotTestContext() {
doMockHttp(MockUpdate.TEXT_LIST("test1", "test2", "test3", "4test"))
bot.handleUpdates { bot.update.stopListener() }

delay(100)
collectedUpdates.map { it.text } shouldBe listOf("test1", "test2", "test3")
}

Expand Down

0 comments on commit e60fd5d

Please sign in to comment.