Code Review
/
sdc
/
sdc-workflow-designer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
fix artifact not updating with versioning
[sdc/sdc-workflow-designer.git]
/
workflow-designer-ui
/
src
/
main
/
frontend
/
src
/
features
/
version
/
versionController
/
__tests__
/
VersionControllerView_snapshot-test.js
diff --git
a/workflow-designer-ui/src/main/frontend/src/features/version/versionController/__tests__/VersionControllerView_snapshot-test.js
b/workflow-designer-ui/src/main/frontend/src/features/version/versionController/__tests__/VersionControllerView_snapshot-test.js
index
5dfb573
..
2bcfa30
100644
(file)
--- a/
workflow-designer-ui/src/main/frontend/src/features/version/versionController/__tests__/VersionControllerView_snapshot-test.js
+++ b/
workflow-designer-ui/src/main/frontend/src/features/version/versionController/__tests__/VersionControllerView_snapshot-test.js
@@
-16,7
+16,7
@@
import React from 'react';
import renderer from 'react-test-renderer';
import React from 'react';
import renderer from 'react-test-renderer';
-import Version
ControllerView from 'features/version/versionController/VersionControllerView
';
+import Version
sContainer from 'features/version/versionController/views/VersionsContainer
';
describe('Version Controller View Snapshot', () => {
it('renders correctly', () => {
describe('Version Controller View Snapshot', () => {
it('renders correctly', () => {
@@
-27,6
+27,7
@@
describe('Version Controller View Snapshot', () => {
description:
'Initial version, bug fix for previous version that fixed an exception when the port was occupied',
status: 'Draft',
description:
'Initial version, bug fix for previous version that fixed an exception when the port was occupied',
status: 'Draft',
+ state: 'Draft',
creationTime: 1530687330460,
modificationTime: 1530687330575,
archivedStatus: 'ACTIVE'
creationTime: 1530687330460,
modificationTime: 1530687330575,
archivedStatus: 'ACTIVE'
@@
-37,6
+38,7
@@
describe('Version Controller View Snapshot', () => {
description:
'Test version, bug fix for previous version that fixed an exception when the port was occupied',
status: 'Draft',
description:
'Test version, bug fix for previous version that fixed an exception when the port was occupied',
status: 'Draft',
+ state: 'Draft',
creationTime: 1530687330461,
modificationTime: 1530687330576,
archivedStatus: 'ACTIVE',
creationTime: 1530687330461,
modificationTime: 1530687330576,
archivedStatus: 'ACTIVE',
@@
-45,7
+47,7
@@
describe('Version Controller View Snapshot', () => {
];
const tree = renderer
.create(
];
const tree = renderer
.create(
- <Version
ControllerView
+ <Version
sContainer
viewableVersions={versionList}
currentWorkflowVersion={versionList[0]}
/>
viewableVersions={versionList}
currentWorkflowVersion={versionList[0]}
/>