Skip to content

Commit

Permalink
che eclipse-che#13553 Making Che 6 'MINIMAL_SUPPORTED_VERSION' for RC…
Browse files Browse the repository at this point in the history
… 1.1

Signed-off-by: Ilya Buziuk <ibuziuk@redhat.com>
  • Loading branch information
ibuziuk committed Jun 17, 2019
1 parent 916bc94 commit 892525c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions dashboard/src/app/workspaces/workspaces.service.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,10 @@ describe(`WorkspacesService >`, () => {
expect(workspacesService.isSupportedVersion(newCHE7Workspace)).toBeTruthy();
});

it(`shouldn't support a CHE6 workspace >`, () => {
it(`should support a CHE6 workspace >`, () => {
const oldCHE6Workspace = getCHE6Workspace();
expect(workspacesService.isSupported(oldCHE6Workspace)).toBeFalsy();
expect(workspacesService.isSupportedVersion(oldCHE6Workspace)).toBeFalsy();
expect(workspacesService.isSupported(oldCHE6Workspace)).toBeTruthy();
expect(workspacesService.isSupportedVersion(oldCHE6Workspace)).toBeTruthy();
});

});
Expand Down
2 changes: 1 addition & 1 deletion dashboard/src/app/workspaces/workspaces.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

import {CheWorkspace} from '../../components/api/workspace/che-workspace.factory';

const MINIMAL_SUPPORTED_VERSION = 7;
const MINIMAL_SUPPORTED_VERSION = 6;

/**
* This is a helper class for workspaces.
Expand Down

0 comments on commit 892525c

Please sign in to comment.