]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-13848 Remove deprecated API parameters
authorWouter Admiraal <wouter.admiraal@sonarsource.com>
Fri, 12 Feb 2021 08:08:47 +0000 (09:08 +0100)
committersonartech <sonartech@sonarsource.com>
Fri, 12 Feb 2021 20:07:13 +0000 (20:07 +0000)
server/sonar-web/src/main/js/api/quality-profiles.ts
server/sonar-web/src/main/js/apps/projectQualityProfiles/__tests__/ProjectQualityProfilesApp-test.tsx
server/sonar-web/src/main/js/types/tasks.ts

index b64d4fd6bdf5355ad95bee178e081060c95f8bcd..f9e6698e43d4970267c3c3e036e6b8ef9c1d8e25 100644 (file)
@@ -91,7 +91,6 @@ export function restoreQualityProfile(data: RequestData): Promise<any> {
 }
 
 export interface ProfileProject {
-  id: number;
   key: string;
   name: string;
   selected: boolean;
index 28a0f5caa9f8e16b806af4359686c6ac5d3f760d..815c1a97a5446a39cadf6d17640f2026e46bc21c 100644 (file)
@@ -55,14 +55,12 @@ jest.mock('../../../api/quality-profiles', () => {
       const results: ProfileProject[] = [];
       if (key === 'js' || key === 'css' || key === 'html_default') {
         results.push({
-          id: 1,
           key: 'foo',
           name: 'Foo',
           selected: true
         });
       } else if (key === 'html') {
         results.push({
-          id: 2,
           key: 'foobar',
           name: 'FooBar',
           selected: true
index 42aec18f46d6cf01ec5e325d9be07ab94358e441..954918c2247afb7062ea12c82fca57201269a3e7 100644 (file)
@@ -44,7 +44,6 @@ export interface Task {
   hasErrorStacktrace?: boolean;
   hasScannerContext?: boolean;
   id: string;
-  logs?: boolean;
   pullRequest?: string;
   pullRequestTitle?: string;
   scannerContext?: string;