Fix workflow test setup (using superuser instead of bypass)
This commit is contained in:
@@ -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)
|
||||
)
|
||||
|
||||
|
||||
@@ -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)
|
||||
)
|
||||
|
||||
|
||||
@@ -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)
|
||||
)
|
||||
|
||||
|
||||
@@ -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)
|
||||
)
|
||||
|
||||
|
||||
@@ -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)
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user