Skip to content

Commit 325f323

Browse files
committed
Fix api test
1 parent 4b96afc commit 325f323

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/Unit/APITest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public function testGetOpenApiSpecThrowsExceptionWhenFormatIsInvalid()
111111
$api = $this->buildApiMock('/tmp/CustomAlerts_openapi_spec_v1.0.0.json', true, '{}');
112112

113113
$this->expectException(\Exception::class);
114-
$this->expectExceptionMessage('General_ExceptionInvalidReportRendererFormat');
114+
$this->expectExceptionMessage("Report format 'yaml' not valid");
115115

116116
$api->getOpenApiSpec('CustomAlerts', 'yaml');
117117
}

0 commit comments

Comments
 (0)