Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Vault
Commits
d0a2831e
Unverified
Commit
d0a2831e
authored
4 years ago
by
Lars Lehtonen
Committed by
GitHub
4 years ago
Browse files
Options
Download
Email Patches
Plain Diff
builtin/logical/database: fix dropped test errors (#12123)
parent
4b96eaf5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
builtin/logical/database/path_roles_test.go
+6
-0
builtin/logical/database/path_roles_test.go
with
6 additions
and
0 deletions
+6
-0
builtin/logical/database/path_roles_test.go
+
6
-
0
View file @
d0a2831e
...
...
@@ -462,6 +462,9 @@ func TestBackend_StaticRole_Role_name_check(t *testing.T) {
}
resp
,
err
=
b
.
HandleRequest
(
namespace
.
RootContext
(
nil
),
req
)
if
err
!=
nil
{
t
.
Fatal
(
err
)
}
if
resp
==
nil
||
!
resp
.
IsError
()
{
t
.
Fatalf
(
"expected error, got none"
)
}
...
...
@@ -505,6 +508,9 @@ func TestBackend_StaticRole_Role_name_check(t *testing.T) {
}
resp
,
err
=
b
.
HandleRequest
(
namespace
.
RootContext
(
nil
),
req
)
if
err
!=
nil
{
t
.
Fatal
(
err
)
}
if
resp
==
nil
||
!
resp
.
IsError
()
{
t
.
Fatalf
(
"expected error, got none"
)
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help