Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
server
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
m-team
oidc
mytoken
server
Commits
b48e4f80
Commit
b48e4f80
authored
4 years ago
by
Gabriel Zachmann
Browse files
Options
Downloads
Patches
Plain Diff
fix test
parent
3ba3b41a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
internal/db/dbrepo/supertokenrepo/tree/tree_test.go
+0
-13
0 additions, 13 deletions
internal/db/dbrepo/supertokenrepo/tree/tree_test.go
with
0 additions
and
13 deletions
internal/db/dbrepo/supertokenrepo/tree/tree_test.go
+
0
−
13
View file @
b48e4f80
...
...
@@ -4,23 +4,10 @@ import (
"fmt"
"testing"
"github.com/oidc-mytoken/server/internal/config"
"github.com/oidc-mytoken/server/internal/db"
"github.com/oidc-mytoken/server/shared/supertoken/pkg/stid"
)
func
TestTree
(
t
*
testing
.
T
)
{
config
.
LoadForSetup
()
db
.
Connect
()
tree
,
err
:=
AllTokensForUser
(
nil
,
4
)
if
err
!=
nil
{
t
.
Error
(
err
)
}
for
_
,
tt
:=
range
tree
{
tt
.
print
(
0
)
}
}
func
str
(
tokens
[]
SuperTokenEntry
)
string
{
s
:=
""
for
_
,
t
:=
range
tokens
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment