Skip to content

Feature server implementation #3899

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 6, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix imports
Signed-off-by: Spike Curtis <spike@coder.com>
  • Loading branch information
spikecurtis committed Sep 6, 2022
commit 4ecdd3b323d685c1f8a60a42a1012caa53bbf15a
7 changes: 2 additions & 5 deletions enterprise/coderd/features_internal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,20 @@ import (
"testing"
"time"

"github.com/coder/coder/enterprise/audit/backends"

"github.com/golang-jwt/jwt/v4"

"github.com/google/uuid"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

"cdr.dev/slog/sloggers/slogtest"

"github.com/coder/coder/coderd"
agplCoderd "github.com/coder/coder/coderd"
agplAudit "github.com/coder/coder/coderd/audit"
"github.com/coder/coder/coderd/database"
"github.com/coder/coder/coderd/database/databasefake"
"github.com/coder/coder/codersdk"
"github.com/coder/coder/enterprise/audit"
"github.com/coder/coder/enterprise/audit/backends"
"github.com/coder/coder/testutil"
)

Expand Down Expand Up @@ -288,7 +285,7 @@ func TestFeaturesServiceSyncEntitlements(t *testing.T) {
})
}

func requestEntitlements(t *testing.T, uut coderd.FeaturesService) codersdk.Entitlements {
func requestEntitlements(t *testing.T, uut agplCoderd.FeaturesService) codersdk.Entitlements {
t.Helper()
r := httptest.NewRequest("GET", "https://example.com/api/v2/entitlements", nil)
rw := httptest.NewRecorder()
Expand Down