Skip to content

Commit fc0ca1d

Browse files
authored
Merge pull request #1519 from keboola/zajca/fix-error-assertion
2 parents 3a8500b + b4b606d commit fc0ca1d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

tests/Backend/Snowflake/CloneIntoWorkspaceTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ public function testCloneWithWrongInput(): void
468468
$this->assertEquals(400, $e->getCode());
469469
$this->assertEquals('workspace.loadRequestBadInput', $e->getStringCode());
470470
$this->assertEquals(
471-
'Argument "input" is expected to be type "array", value "this is not array" given.',
471+
'This value should be of type array.',
472472
$e->getMessage(),
473473
);
474474
}

tests/Backend/Workspaces/WorkspacesLoadTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2191,7 +2191,7 @@ public function testLoadWithWrongInput(): void
21912191
$this->assertEquals(400, $e->getCode());
21922192
$this->assertEquals('workspace.loadRequestBadInput', $e->getStringCode());
21932193
$this->assertEquals(
2194-
'Argument "input" is expected to be type "array", value "this is not array" given.',
2194+
'This value should be of type array.',
21952195
$e->getMessage(),
21962196
);
21972197
}

0 commit comments

Comments
 (0)