Skip to content

Commit e23704c

Browse files
committed
remove unused
1 parent feebf2b commit e23704c

File tree

2 files changed

+0
-158
lines changed

2 files changed

+0
-158
lines changed
Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
package database
22

33
import (
4-
"fmt"
54
"testing"
65

76
"github.com/stretchr/testify/require"
8-
9-
"github.com/coder/coder/v2/testutil"
107
)
118

129
func TestIsAuthorizedQuery(t *testing.T) {
@@ -16,19 +13,3 @@ func TestIsAuthorizedQuery(t *testing.T) {
1613
_, err := insertAuthorizedFilter(query, "")
1714
require.ErrorContains(t, err, "does not contain authorized replace string", "ensure replace string")
1815
}
19-
20-
// TestWorkspaceTableConvert verifies all workspace fields are converted
21-
// when reducing a `Workspace` to a `WorkspaceTable`.
22-
func TestWorkspaceTableConvert(t *testing.T) {
23-
t.Parallel()
24-
25-
var workspace Workspace
26-
err := testutil.PopulateStruct(&workspace, nil)
27-
require.NoError(t, err)
28-
29-
workspace.WorkspaceTable()
30-
require.JSONEq(t)
31-
32-
fmt.Println(workspace)
33-
34-
}

testutil/reflect.go

Lines changed: 0 additions & 139 deletions
This file was deleted.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy