Skip to content

Commit

Permalink
Fix up failing test after rename
Browse files Browse the repository at this point in the history
  • Loading branch information
svrana committed Jul 26, 2023
1 parent b0993b2 commit ef8a682
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cmd/root_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,15 +139,15 @@ import (
"github.com/bommie/b6/db"
)
type UserServer struct {
type UserService struct {
db *db.DB
cfg *config.AuthConfig
}
var _ userv1connect.UserServiceClient = (*UserServer)(nil)
var _ userv1connect.UserServiceClient = (*UserService)(nil)
func NewServer(_ context.Context, db *db.DB, cfg *config.AuthConfig) *UserServer {
return &UserServer{
func NewService(_ context.Context, db *db.DB, cfg *config.AuthConfig) *UserService {
return &UserService{
db: db,
cfg: cfg,
}
Expand Down

0 comments on commit ef8a682

Please sign in to comment.