(t *testing.T)
| 43 | } |
| 44 | |
| 45 | func TestBuildInfo(t *testing.T) { |
| 46 | t.Parallel() |
| 47 | client := coderdtest.New(t, nil) |
| 48 | |
| 49 | ctx, cancel := context.WithTimeout(context.Background(), testutil.WaitLong) |
| 50 | defer cancel() |
| 51 | |
| 52 | buildInfo, err := client.BuildInfo(ctx) |
| 53 | require.NoError(t, err) |
| 54 | require.Equal(t, buildinfo.ExternalURL(), buildInfo.ExternalURL, "external URL") |
| 55 | require.Equal(t, buildinfo.Version(), buildInfo.Version, "version") |
| 56 | } |
| 57 | |
| 58 | func TestDERP(t *testing.T) { |
| 59 | t.Parallel() |
nothing calls this directly
no test coverage detected