Skip to content

Commit fade5db

Browse files
committed
tst
1 parent ce128ab commit fade5db

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

plugins/amazonq/codewhisperer/jetbrains-community/tst/software/aws/toolkits/jetbrains/services/codewhisperer/CodeWhispererModelConfiguratorTest.kt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ class CodeWhispererModelConfiguratorTest {
470470
"</option>" +
471471
"</component>"
472472

473-
assertThat(actual).isEqualTo(expected)
473+
assertThat(actual).isEqualToIgnoringWhitespace(expected)
474474
}
475475

476476
@Test
@@ -577,7 +577,6 @@ class CodeWhispererModelConfiguratorTest {
577577
val fakeCustomizations = listOf(
578578
CodeWhispererCustomization("oldArn", "oldName", "oldDescription")
579579
)
580-
mockClintAdaptor.stub { on { listAvailableCustomizations() } doReturn fakeCustomizations }
581580

582581
ApplicationManager.getApplication().messageBus
583582
.syncPublisher(QRegionProfileSelectedListener.TOPIC)
@@ -596,7 +595,6 @@ class CodeWhispererModelConfiguratorTest {
596595
val fakeCustomizations = listOf(
597596
CodeWhispererCustomization("newArn", "newName", "newDescription")
598597
)
599-
mockClintAdaptor.stub { on { listAvailableCustomizations() } doReturn fakeCustomizations }
600598

601599
val latch = CountDownLatch(1)
602600

plugins/amazonq/shared/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codewhisperer/customization/CodeWhispererCustomization.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ package software.aws.toolkits.jetbrains.services.codewhisperer.customization
55

66
data class CodeWhispererCustomization(
77
@JvmField
8-
val arn: String = "",
8+
var arn: String = "",
99

1010
@JvmField
11-
val name: String = "",
11+
var name: String = "",
1212

1313
@JvmField
14-
val description: String? = null,
14+
var description: String? = null,
1515
)

0 commit comments

Comments
 (0)