Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ describe('TestExecutionDetailsService', () => {
const id = '42/1/2/23';
const testExecutionRequest = {
method: 'GET',
url: serviceConfig.url + '/42/1/2/23'
url: serviceConfig.url + '/details/42/1/2/23'
};
const mockResponse: TestExecutionDetails[] = [{ type: DataKind.text, content: ['Hello World!', 'This can contain multiple lines.'] }];

Expand All @@ -73,7 +73,7 @@ describe('TestExecutionDetailsService', () => {
const id = '42/1/2/23';
const testExecutionRequest = {
method: 'GET',
url: serviceConfig.url + '/42/1/2/23?logLevel=INFO'
url: serviceConfig.url + '/details/42/1/2/23?logLevel=INFO'
};
const mockResponse: TestExecutionDetails[] = [{ type: DataKind.text, content: ['Hello World!', 'This can contain multiple lines.'] }];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ export class DefaultTestExecutionDetailsService extends TestExecutionDetailsServ

private async makeRequest(urlPathAndQuery: string): Promise<TestExecutionDetails[]> {
const client = await this.httpProvider.getHttpClient();
return await client.get<TestExecutionDetails[]>(`${this.config.url}/${urlPathAndQuery}`).toPromise();
return await client.get<TestExecutionDetails[]>(`${this.config.url}/details/${urlPathAndQuery}`).toPromise();
}
}