3
0

Fix workflow test setup (using superuser instead of bypass)

This commit is contained in:
Denis Arh
2021-09-12 08:14:17 +02:00
parent 97d2d7292c
commit 9ae0328e86
5 changed files with 9 additions and 9 deletions

View File

@@ -19,7 +19,7 @@ func Test0005_iterator_records(t *testing.T) {
}()
var (
ctx = superUser(context.Background())
ctx = bypassRBAC(context.Background())
req = require.New(t)
)
@@ -63,7 +63,7 @@ func Test0005_iterator_records_chunked(t *testing.T) {
}()
var (
ctx = superUser(context.Background())
ctx = bypassRBAC(context.Background())
req = require.New(t)
)

View File

@@ -19,7 +19,7 @@ func Test0006_iterator_users(t *testing.T) {
}()
var (
ctx = superUser(context.Background())
ctx = bypassRBAC(context.Background())
req = require.New(t)
)
@@ -60,7 +60,7 @@ func Test0006_iterator_users_chunked(t *testing.T) {
}()
var (
ctx = superUser(context.Background())
ctx = bypassRBAC(context.Background())
req = require.New(t)
)

View File

@@ -19,7 +19,7 @@ func Test0007_iterator_roles(t *testing.T) {
}()
var (
ctx = superUser(context.Background())
ctx = bypassRBAC(context.Background())
req = require.New(t)
)
@@ -60,7 +60,7 @@ func Test0008_iterator_roles_chunked(t *testing.T) {
}()
var (
ctx = superUser(context.Background())
ctx = bypassRBAC(context.Background())
req = require.New(t)
)

View File

@@ -19,7 +19,7 @@ func Test0008_iterator_role_members(t *testing.T) {
}()
var (
ctx = superUser(context.Background())
ctx = bypassRBAC(context.Background())
req = require.New(t)
)

View File

@@ -19,7 +19,7 @@ func Test0009_iterator_templates(t *testing.T) {
}()
var (
ctx = superUser(context.Background())
ctx = bypassRBAC(context.Background())
req = require.New(t)
)
@@ -60,7 +60,7 @@ func Test0009_iterator_templates_chunked(t *testing.T) {
}()
var (
ctx = superUser(context.Background())
ctx = bypassRBAC(context.Background())
req = require.New(t)
)