CFE-10 testing disabled button
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import {rest} from "msw";
|
||||
import {GET_ROLE_LIST, GET_ROLES} from "@/core/data/apiRoutes";
|
||||
import {GET_PERMISSIONS_LIST, GET_ROLE_LIST, GET_ROLES} from "@/core/data/apiRoutes";
|
||||
|
||||
export const rolesHandler = [
|
||||
rest.get(GET_ROLES, (req, res, ctx) => {
|
||||
@@ -51,7 +51,7 @@ export const rolesHandler = [
|
||||
),
|
||||
);
|
||||
}),
|
||||
rest.get(GET_ROLE_LIST, (req, res, ctx) => {
|
||||
rest.get(GET_PERMISSIONS_LIST, (req, res, ctx) => {
|
||||
return res(ctx.json({
|
||||
data: [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user