Skip to content

Commit c9796f5

Browse files
committed
Fix test code.
1 parent 9a51bb9 commit c9796f5

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

Tests/Responses/Request-ResponseCompaction.tests.ps1

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Describe 'Request-ResponseCompaction' {
1818
$script:Result = ''
1919
}
2020

21-
It 'Simple chat response' {
21+
It 'Simple response compaction' {
2222
Mock -Verifiable -ModuleName $script:ModuleName Invoke-OpenAIAPIRequest { @'
2323
{
2424
"id": "resp_abcd1234",
@@ -40,7 +40,7 @@ Describe 'Request-ResponseCompaction' {
4040
{
4141
"id": "cmp_hijk9012",
4242
"type": "compaction",
43-
"encrypted_content": "encrypted-data",
43+
"encrypted_content": "encrypted-data"
4444
}
4545
],
4646
"usage": {
@@ -95,7 +95,7 @@ Describe 'Request-ResponseCompaction' {
9595
{
9696
"id": "cmp_hijk9012",
9797
"type": "compaction",
98-
"encrypted_content": "encrypted-data",
98+
"encrypted_content": "encrypted-data"
9999
}
100100
],
101101
"usage": {}
@@ -118,7 +118,7 @@ Describe 'Request-ResponseCompaction' {
118118
{
119119
"id": "cmp_hijk9012",
120120
"type": "compaction",
121-
"encrypted_content": "encrypted-data",
121+
"encrypted_content": "encrypted-data"
122122
}
123123
],
124124
"usage": {}
@@ -163,7 +163,7 @@ Describe 'Request-ResponseCompaction' {
163163
{
164164
"id": "cmp_hijk9012",
165165
"type": "compaction",
166-
"encrypted_content": "encrypted-data",
166+
"encrypted_content": "encrypted-data"
167167
}
168168
],
169169
"usage": {}
@@ -187,7 +187,7 @@ Describe 'Request-ResponseCompaction' {
187187
{
188188
"id": "cmp_hijk9012",
189189
"type": "compaction",
190-
"encrypted_content": "encrypted-data",
190+
"encrypted_content": "encrypted-data"
191191
}
192192
],
193193
"usage": {}
@@ -218,7 +218,7 @@ Describe 'Request-ResponseCompaction' {
218218
{
219219
"id": "cmp_hijk9012",
220220
"type": "compaction",
221-
"encrypted_content": "encrypted-data",
221+
"encrypted_content": "encrypted-data"
222222
}
223223
],
224224
"usage": {}

0 commit comments

Comments
 (0)