diff options
author | andre.schmid <andre.schmid@est.tech> | 2021-07-22 11:54:07 +0100 |
---|---|---|
committer | Michael Morris <michael.morris@est.tech> | 2021-08-12 07:44:53 +0000 |
commit | 36fa9cdd9fb26aa3fbd3a1f35b2d8344d1301c11 (patch) | |
tree | 636aef4d50e634b7eea17a93025c4836fce43469 /openecomp-ui/test/softwareProduct/details | |
parent | ead5c383df30c94a83ee1d7e2c869cc5b23697a2 (diff) |
Specify a model while creating a VSP
Change-Id: I6ed0a3c979e14c62ecd6488dfd70589df40636e9
Issue-ID: SDC-3656
Signed-off-by: André Schmid <andre.schmid@est.tech>
Diffstat (limited to 'openecomp-ui/test/softwareProduct/details')
-rw-r--r-- | openecomp-ui/test/softwareProduct/details/test.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/openecomp-ui/test/softwareProduct/details/test.js b/openecomp-ui/test/softwareProduct/details/test.js index 92390f61ef..0e0c9ecafd 100644 --- a/openecomp-ui/test/softwareProduct/details/test.js +++ b/openecomp-ui/test/softwareProduct/details/test.js @@ -1,5 +1,6 @@ /* * Copyright © 2016-2018 European Support Limited + * Modifications Copyright (C) 2021 Nordix Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -217,6 +218,13 @@ describe('Software Product Details Module Tests', function () { }); mockRest.addHandler('fetch', ({options, data, baseUrl}) => { + expect(baseUrl).toEqual('/sdc1/feProxy/rest/v1/catalog/model/'); + expect(data).toEqual(undefined); + expect(options).toEqual(undefined); + return []; + }); + + mockRest.addHandler('fetch', ({options, data, baseUrl}) => { expect(baseUrl).toEqual('/onboarding-api/v1.0/vendor-license-models/?versionFilter=Certified'); expect(data).toEqual(undefined); expect(options).toEqual(undefined); |