Skip to content

Commit c9b1e21

Browse files
committed
Fix SDK tests
1 parent 70cc7e3 commit c9b1e21

File tree

1 file changed

+7
-4
lines changed
  • aws/sdk-codegen/src/test/kotlin/software/amazon/smithy/rustsdk

1 file changed

+7
-4
lines changed

aws/sdk-codegen/src/test/kotlin/software/amazon/smithy/rustsdk/TestUtil.kt

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import software.amazon.smithy.rust.codegen.client.testutil.testCodegenContext
1313
import software.amazon.smithy.rust.codegen.core.smithy.CoreRustSettings
1414
import software.amazon.smithy.rust.codegen.core.smithy.RuntimeCrateLocation
1515
import software.amazon.smithy.rust.codegen.core.smithy.RustCrate
16+
import software.amazon.smithy.rust.codegen.core.testutil.IntegrationTestParams
1617
import software.amazon.smithy.rust.codegen.core.testutil.TestRuntimeConfig
1718
import software.amazon.smithy.rust.codegen.core.testutil.asSmithyModel
1819
import software.amazon.smithy.rust.codegen.core.testutil.testRustSettings
@@ -39,9 +40,10 @@ fun awsSdkIntegrationTest(
3940
test: (ClientCodegenContext, RustCrate) -> Unit = { _, _ -> },
4041
) =
4142
clientIntegrationTest(
42-
model, runtimeConfig = AwsTestRuntimeConfig,
43-
additionalSettings = ObjectNode.builder()
44-
.withMember(
43+
model,
44+
IntegrationTestParams(
45+
runtimeConfig = AwsTestRuntimeConfig,
46+
additionalSettings = ObjectNode.builder().withMember(
4547
"customizationConfig",
4648
ObjectNode.builder()
4749
.withMember(
@@ -51,6 +53,7 @@ fun awsSdkIntegrationTest(
5153
.build(),
5254
).build(),
5355
)
54-
.withMember("codegen", ObjectNode.builder().withMember("includeFluentClient", false).build()).build(),
56+
.withMember("codegen", ObjectNode.builder().withMember("includeFluentClient", false).build()).build(),
57+
),
5558
test = test,
5659
)

0 commit comments

Comments
 (0)