Skip to content

Commit

Permalink
fix versions and test
Browse files Browse the repository at this point in the history
  • Loading branch information
aajtodd committed Mar 28, 2024
1 parent 4bcf7ce commit ee9c773
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ coroutines-version = "1.7.3"
atomicfu-version = "0.23.1"

# smithy-kotlin codegen and runtime are versioned separately
smithy-kotlin-runtime-version = "1.1.1"
smithy-kotlin-codegen-version = "0.31.1"
smithy-kotlin-runtime-version = "1.1.2-SNAPSHOT"
smithy-kotlin-codegen-version = "0.31.2-SNAPSHOT"

# codegen
smithy-version = "1.45.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class GetBucketLocationOperationDeserializerTest {
val call = HttpCall(HttpRequestBuilder().build(), response, Instant.now(), Instant.now())

val actual = runBlocking {
GetBucketLocationOperationDeserializer().deserialize(ExecutionContext(), call)
GetBucketLocationOperationDeserializer().deserialize(ExecutionContext(), call, responseXML.encodeToByteArray())
}

assertEquals(BucketLocationConstraint.UsWest2, actual.locationConstraint)
Expand All @@ -63,7 +63,7 @@ class GetBucketLocationOperationDeserializerTest {
val call = HttpCall(HttpRequestBuilder().build(), response, Instant.now(), Instant.now())
val exception = assertFailsWith<S3Exception> {
runBlocking {
GetBucketLocationOperationDeserializer().deserialize(ExecutionContext(), call)
GetBucketLocationOperationDeserializer().deserialize(ExecutionContext(), call, responseXML.encodeToByteArray())
}
}

Expand Down

0 comments on commit ee9c773

Please sign in to comment.