Skip to content

Commit

Permalink
test: 修复错误
Browse files Browse the repository at this point in the history
  • Loading branch information
livk-cloud committed Dec 5, 2023
1 parent cb91e67 commit 98fd107
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
package com.livk.ck.r2dbc.controller;

import com.livk.ck.r2dbc.entity.User;
import org.hamcrest.core.Is;
import org.hamcrest.core.IsNot;
import org.junit.jupiter.api.MethodOrderer;
import org.junit.jupiter.api.Order;
import org.junit.jupiter.api.Test;
Expand Down Expand Up @@ -56,7 +56,7 @@ void testUsers() {
.expectStatus()
.isOk()
.expectBodyList(User.class)
.value(List::size, Is.is(0));
.value(List::size, IsNot.not(0));
}

@Order(1)
Expand Down

0 comments on commit 98fd107

Please sign in to comment.