Commit a708a746 authored by yuanshuo's avatar yuanshuo

Merge branch 'master' of...

Merge branch 'master' of http://gitlab.91isoft.com:90/car-database/car-database-api into songyuanshuo
parents 92d1f3d7 fe9ecee4
......@@ -7,6 +7,8 @@ import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import java.io.IOException;
@SpringBootTest
public class ReviewSceneChangeTaskTest {
......@@ -17,7 +19,7 @@ public class ReviewSceneChangeTaskTest {
* 创建一个新增场景的任务
*/
@Test
public void createTest_add() {
public void createTest_add() throws IOException {
ReviewSceneChangeTask reviewSceneChangeTask = new ReviewSceneChangeTask()
.setTaskNo(SnowflakeUtil.generate().toString())
......@@ -40,7 +42,7 @@ public class ReviewSceneChangeTaskTest {
* 创建一个删除场景的任务
*/
@Test
public void createTest_delete() {
public void createTest_delete() throws IOException {
ReviewSceneChangeTask reviewSceneChangeTask = new ReviewSceneChangeTask()
.setTaskNo(SnowflakeUtil.generate().toString())
......@@ -64,7 +66,7 @@ public class ReviewSceneChangeTaskTest {
* 创建一个修改场景的任务
*/
@Test
public void createTest_update() {
public void createTest_update() throws IOException {
ReviewSceneChangeTask reviewSceneChangeTask = new ReviewSceneChangeTask()
.setTaskNo(SnowflakeUtil.generate().toString())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment