summaryrefslogtreecommitdiffstats
path: root/src/k8splugin/rb/definition_test.go
diff options
context:
space:
mode:
authorKiran Kamineni <kiran.k.kamineni@intel.com>2018-11-28 12:21:09 -0800
committerKiran Kamineni <kiran.k.kamineni@intel.com>2019-01-17 12:47:04 -0800
commitcd9644049545a47676e87ad279833ced1b0f9c1a (patch)
treee400e1afc580cef33a95a17a5e6b019d00a07fef /src/k8splugin/rb/definition_test.go
parent1fa0e21ea6d3c5fb060daba19a0cb6c1f26f1364 (diff)
Add resource bundle profile api
Add CRUD api for uploading profiles for specific definition resource bundles. - Adding unit tests Issue-ID: ONAPARC-348 Change-Id: Ic43724b4e2c035e7989c827612f1b2800fc49a69 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Diffstat (limited to 'src/k8splugin/rb/definition_test.go')
-rw-r--r--src/k8splugin/rb/definition_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/k8splugin/rb/definition_test.go b/src/k8splugin/rb/definition_test.go
index 1e488678..b2f4b7c4 100644
--- a/src/k8splugin/rb/definition_test.go
+++ b/src/k8splugin/rb/definition_test.go
@@ -298,7 +298,7 @@ func TestUpload(t *testing.T) {
{
label: "Upload with an Invalid Resource Bundle Definition",
inp: "123e4567-e89b-12d3-a456-426655440000",
- expectedError: "Invalid ID provided",
+ expectedError: "Invalid Definition ID provided",
content: []byte{
0x1f, 0x8b, 0x08, 0x08, 0xb0, 0x6b, 0xf4, 0x5b,
0x00, 0x03, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x74,