@@ -215,6 +215,7 @@ func TestLoadLogging(t *testing.T) {
215215 Name : "foo" ,
216216 Logging : tc .expected ,
217217 Environment : types.MappingWithEquals {},
218+ Scale : 1 ,
218219 },
219220 },
220221 Networks : types.Networks {},
@@ -370,6 +371,7 @@ func TestLoadMultipleServicePorts(t *testing.T) {
370371 Name : "foo" ,
371372 Ports : tc .expected ,
372373 Environment : types.MappingWithEquals {},
374+ Scale : 1 ,
373375 },
374376 },
375377 Networks : types.Networks {},
@@ -495,6 +497,7 @@ func TestLoadMultipleSecretsConfig(t *testing.T) {
495497 Name : "foo" ,
496498 Secrets : tc .expected ,
497499 Environment : types.MappingWithEquals {},
500+ Scale : 1 ,
498501 },
499502 },
500503 Networks : types.Networks {},
@@ -620,6 +623,7 @@ func TestLoadMultipleConfigobjsConfig(t *testing.T) {
620623 Name : "foo" ,
621624 Configs : tc .expected ,
622625 Environment : types.MappingWithEquals {},
626+ Scale : 1 ,
623627 },
624628 },
625629 Networks : types.Networks {},
@@ -735,6 +739,7 @@ func TestLoadMultipleUlimits(t *testing.T) {
735739 Name : "foo" ,
736740 Ulimits : tc .expected ,
737741 Environment : types.MappingWithEquals {},
742+ Scale : 1 ,
738743 },
739744 },
740745 Networks : types.Networks {},
@@ -853,6 +858,7 @@ func TestLoadMultipleServiceNetworks(t *testing.T) {
853858 Name : "foo" ,
854859 Networks : tc .expected ,
855860 Environment : types.MappingWithEquals {},
861+ Scale : 1 ,
856862 },
857863 },
858864 Networks : types.Networks {},
@@ -940,6 +946,7 @@ func TestLoadMultipleConfigs(t *testing.T) {
940946 Name : "bar" ,
941947 Image : "bar" ,
942948 Environment : types.MappingWithEquals {},
949+ Scale : 1 ,
943950 },
944951 {
945952 Name : "foo" ,
@@ -975,6 +982,7 @@ func TestLoadMultipleConfigs(t *testing.T) {
975982 },
976983 CapAdd : []string {"NET_ADMIN" , "SYS_ADMIN" },
977984 Environment : types.MappingWithEquals {},
985+ Scale : 1 ,
978986 }},
979987 Networks : types.Networks {},
980988 Volumes : types.Volumes {},
@@ -1038,6 +1046,7 @@ func TestLoadMultipleNetworks(t *testing.T) {
10381046 Name : "foo" ,
10391047 Image : "baz" ,
10401048 Environment : types.MappingWithEquals {},
1049+ Scale : 1 ,
10411050 }},
10421051 Networks : map [string ]types.NetworkConfig {
10431052 "hostnet" : {
0 commit comments