dengzedong
2024-12-19 85b2001c0ec2f1adc598db3bf47ad457dcca7074
提交 | 用户 | 时间
e7c126 1 package com.iailab.framework.datapermission.core.util;
H 2
3 import com.iailab.framework.datapermission.core.aop.DataPermissionContextHolder;
4 import org.junit.jupiter.api.Test;
5
6 import static org.junit.jupiter.api.Assertions.*;
7
8 public class DataPermissionUtilsTest {
9
10     @Test
11     public void testExecuteIgnore() {
12         DataPermissionUtils.executeIgnore(() -> assertFalse(DataPermissionContextHolder.get().enable()));
13     }
14
15 }