mirror of
https://github.com/coder/coder.git
synced 2025-07-06 15:41:45 +00:00
feat: add new required slug property to coder_app, use in URLs (#4573)
This commit is contained in:
@ -83,17 +83,20 @@ func setupWorkspaceAgent(t *testing.T, client *codersdk.Client, user codersdk.Cr
|
||||
},
|
||||
Apps: []*proto.App{
|
||||
{
|
||||
Name: testAppNameOwner,
|
||||
Slug: testAppNameOwner,
|
||||
DisplayName: testAppNameOwner,
|
||||
SharingLevel: proto.AppSharingLevel_OWNER,
|
||||
Url: fmt.Sprintf("http://localhost:%d", appPort),
|
||||
},
|
||||
{
|
||||
Name: testAppNameAuthenticated,
|
||||
Slug: testAppNameAuthenticated,
|
||||
DisplayName: testAppNameAuthenticated,
|
||||
SharingLevel: proto.AppSharingLevel_AUTHENTICATED,
|
||||
Url: fmt.Sprintf("http://localhost:%d", appPort),
|
||||
},
|
||||
{
|
||||
Name: testAppNamePublic,
|
||||
Slug: testAppNamePublic,
|
||||
DisplayName: testAppNamePublic,
|
||||
SharingLevel: proto.AppSharingLevel_PUBLIC,
|
||||
Url: fmt.Sprintf("http://localhost:%d", appPort),
|
||||
},
|
||||
|
Reference in New Issue
Block a user