Skip to content

Commit cb4e5b2

Browse files
chore: test for ParentID being uuid.NullUUID{}
1 parent 2f9844a commit cb4e5b2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

coderd/provisionerdserver/provisionerdserver_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2153,6 +2153,7 @@ func TestInsertWorkspaceResource(t *testing.T) {
21532153
require.NoError(t, err)
21542154
require.Len(t, agents, 1)
21552155
agent := agents[0]
2156+
require.Equal(t, uuid.NullUUID{}, agent.ParentID)
21562157
require.Equal(t, "amd64", agent.Architecture)
21572158
require.Equal(t, "linux", agent.OperatingSystem)
21582159
want, err := json.Marshal(map[string]string{

0 commit comments

Comments
 (0)