Skip to content

Commit 9b1f3e7

Browse files
committed
fix tests
1 parent 7a628c4 commit 9b1f3e7

File tree

4 files changed

+3
-7
lines changed

4 files changed

+3
-7
lines changed

tests/Backend/Api/Agent/CollectionTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ public function testGet()
5454
"name": "agent-test",
5555
"description": "An agent test",
5656
"outgoing": "schema:\/\/Entry-Schema",
57-
"action": "action:\/\/Inspect-Action",
5857
"insertDate": "2026-02-22T13:06:00Z"
5958
}
6059
]
@@ -87,7 +86,6 @@ public function testGetSearch()
8786
"name": "agent-test",
8887
"description": "An agent test",
8988
"outgoing": "schema:\/\/Entry-Schema",
90-
"action": "action:\/\/Inspect-Action",
9189
"insertDate": "2026-02-22T13:06:00Z"
9290
}
9391
]
@@ -120,7 +118,6 @@ public function testGetCount()
120118
"name": "agent-test",
121119
"description": "An agent test",
122120
"outgoing": "schema:\/\/Entry-Schema",
123-
"action": "action:\/\/Inspect-Action",
124121
"insertDate": "2026-02-22T13:06:00Z"
125122
}
126123
]

tests/Backend/Api/Agent/EntityTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ public function testGet()
6262
"test_listFoo"
6363
],
6464
"outgoing": "schema:\/\/Entry-Schema",
65-
"action": "action:\/\/Inspect-Action",
6665
"insertDate": "2026-02-22T13:06:00Z"
6766
}
6867
JSON;

tests/Backend/Api/Agent/Message/CollectionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public function testPost()
109109
$body = (string) $response->getBody();
110110
$expect = <<<'JSON'
111111
{
112-
"id": "4",
112+
"id": "3",
113113
"output": {
114114
"type": "text",
115115
"content": "The answer ist: 42"

tests/Service/Agent/Serializer/JsonResultSerializerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
*/
3737
class JsonResultSerializerTest extends TestCase
3838
{
39-
#[DataProvider('testProvider')]
39+
#[DataProvider('serializeTextProvider')]
4040
public function testSerializeText(string $content, string $expect): void
4141
{
4242
$serializer = new JsonResultSerializer();
@@ -47,7 +47,7 @@ public function testSerializeText(string $content, string $expect): void
4747
$this->assertJsonStringEqualsJsonString($expect, Parser::encode($result->getPayload()));
4848
}
4949

50-
public static function testProvider(): array
50+
public static function serializeTextProvider(): array
5151
{
5252
return [
5353
['{}', '{}'],

0 commit comments

Comments
 (0)