Skip to content

Commit b36c80e

Browse files
committed
CT-2183 - return error message back to original
1 parent ac3ad71 commit b36c80e

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

tests/Common/MetadataTest.php

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1101,19 +1101,7 @@ public function testMetadata40xs(string $devBranchType, string $userRole, $apiEn
11011101
} catch (ClientException $e) {
11021102
$this->assertEquals(404, $e->getCode());
11031103
$this->assertEquals('storage.metadata.notFound', $e->getStringCode());
1104-
1105-
if ($apiEndpoint === self::ENDPOINT_TYPE_COLUMNS) {
1106-
$this->assertEquals(
1107-
sprintf(
1108-
'Metadata "%s" was not found for column "%s".',
1109-
9999999,
1110-
$object,
1111-
),
1112-
$e->getMessage(),
1113-
);
1114-
} else {
1115-
$this->assertEquals('The supplied metadata ID was not found', $e->getMessage());
1116-
}
1104+
$this->assertEquals('The supplied metadata ID was not found', $e->getMessage());
11171105
}
11181106
}
11191107

0 commit comments

Comments
 (0)