mirror of
https://github.com/portainer/portainer.git
synced 2025-07-19 05:19:39 +02:00
fix(tests): Fix ServicesDatatable tests - r8s-395 (#860)
This commit is contained in:
parent
ce86129478
commit
f4df51884c
1 changed files with 2 additions and 5 deletions
|
@ -84,11 +84,8 @@ beforeEach(() => {
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
const mockUser = {
|
const mockUser = {
|
||||||
...createMockUsers(1)[0],
|
// Admin user
|
||||||
PortainerAuthorizations: {
|
...createMockUsers(1, 1)[0],
|
||||||
K8sAccessSystemNamespaces: true,
|
|
||||||
K8sServiceW: true,
|
|
||||||
},
|
|
||||||
};
|
};
|
||||||
|
|
||||||
function createTestComponent() {
|
function createTestComponent() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue