Browse Source

api access token update

pull/2/head
qiaozhanwei 6 years ago
parent
commit
07c5df928e
  1. 4
      escheduler-dao/src/test/java/cn/escheduler/dao/mapper/AccessTokenMapperTest.java

4
escheduler-dao/src/test/java/cn/escheduler/dao/mapper/AccessTokenMapperTest.java

@ -51,10 +51,10 @@ public class AccessTokenMapperTest {
@Test @Test
public void testListPaging(){ public void testListPaging(){
Integer count = accessTokenMapper.countAccessTokenPaging(""); Integer count = accessTokenMapper.countAccessTokenPaging(1,"");
Assert.assertEquals(count, (Integer) 5); Assert.assertEquals(count, (Integer) 5);
List<AccessToken> accessTokenList = accessTokenMapper.queryAccessTokenPaging("", 0, 2); List<AccessToken> accessTokenList = accessTokenMapper.queryAccessTokenPaging(1,"", 0, 2);
Assert.assertEquals(accessTokenList.size(), 5); Assert.assertEquals(accessTokenList.size(), 5);
} }

Loading…
Cancel
Save