summaryrefslogtreecommitdiffstats
path: root/src/orchestrator/api/composite_profilehandler_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/orchestrator/api/composite_profilehandler_test.go')
-rw-r--r--src/orchestrator/api/composite_profilehandler_test.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/orchestrator/api/composite_profilehandler_test.go b/src/orchestrator/api/composite_profilehandler_test.go
index ec3ec24b..d1e34230 100644
--- a/src/orchestrator/api/composite_profilehandler_test.go
+++ b/src/orchestrator/api/composite_profilehandler_test.go
@@ -70,6 +70,10 @@ func (m *mockCompositeProfileManager) DeleteCompositeProfile(name string, projec
return m.Err
}
+func init() {
+ caprofileJSONFile = "../json-schemas/metadata.json"
+}
+
func Test_compositeProfileHandler_createHandler(t *testing.T) {
testCases := []struct {
label string