@@ -568,8 +568,9 @@ func TestAcquireJob(t *testing.T) {
568
568
want , err := json .Marshal (& proto.AcquiredJob_TemplateDryRun_ {
569
569
TemplateDryRun : & proto.AcquiredJob_TemplateDryRun {
570
570
Metadata : & sdkproto.Metadata {
571
- CoderUrl : (& url.URL {}).String (),
572
- WorkspaceName : "testing" ,
571
+ CoderUrl : (& url.URL {}).String (),
572
+ WorkspaceName : "testing" ,
573
+ WorkspaceOwnerGroups : []string {database .EveryoneGroup },
573
574
},
574
575
},
575
576
})
@@ -600,7 +601,8 @@ func TestAcquireJob(t *testing.T) {
600
601
want , err := json .Marshal (& proto.AcquiredJob_TemplateImport_ {
601
602
TemplateImport : & proto.AcquiredJob_TemplateImport {
602
603
Metadata : & sdkproto.Metadata {
603
- CoderUrl : (& url.URL {}).String (),
604
+ CoderUrl : (& url.URL {}).String (),
605
+ WorkspaceOwnerGroups : []string {database .EveryoneGroup },
604
606
},
605
607
},
606
608
})
@@ -643,7 +645,8 @@ func TestAcquireJob(t *testing.T) {
643
645
{Name : "first" , Sensitive : true , Value : "first_value" },
644
646
},
645
647
Metadata : & sdkproto.Metadata {
646
- CoderUrl : (& url.URL {}).String (),
648
+ CoderUrl : (& url.URL {}).String (),
649
+ WorkspaceOwnerGroups : []string {database .EveryoneGroup },
647
650
},
648
651
},
649
652
})
0 commit comments