Skip to content

Commit c7c5c3f

Browse files
vrubezhnydatho7561
authored andcommitted
listServiceInstances is only used in integration tests #3075
The unused method and according integration test are removed Fixes: #3075 Signed-off-by: Victor Rubezhny <vrubezhny@redhat.com>
1 parent 89628a9 commit c7c5c3f

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

src/odo/command.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -131,15 +131,6 @@ export class Command {
131131
return new CommandText('oc version -ojson');
132132
}
133133

134-
static listServiceInstances(namespace: string): CommandText {
135-
return new CommandText('odo list service',
136-
undefined, [
137-
new CommandOption('--namespace', namespace),
138-
new CommandOption('-o', 'json', false)
139-
]
140-
);
141-
}
142-
143134
static printOdoVersion(): CommandText {
144135
return new CommandText('odo version');
145136
}

test/integration/command.test.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -267,10 +267,6 @@ suite('odo commands integration', function () {
267267
await ODO.execute(Command.ocCreate(serviceFile));
268268
});
269269

270-
test('listServiceInstances()', async function() {
271-
await ODO.execute(Command.listServiceInstances(projectName));
272-
});
273-
274270
});
275271

276272
suite('component', function() {

0 commit comments

Comments
 (0)