敏捷工具
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
572 B

2 years ago
  1. package com.whn.hellospring;
  2. import com.whn.hellospring.model.VersionDO;
  3. import com.whn.hellospring.service.AppService;
  4. import lombok.extern.slf4j.Slf4j;
  5. import org.junit.jupiter.api.Test;
  6. import org.springframework.beans.factory.annotation.Autowired;
  7. import org.springframework.boot.test.context.SpringBootTest;
  8. import java.util.List;
  9. @SpringBootTest
  10. @Slf4j
  11. public class AppTest {
  12. @Autowired
  13. AppService service;
  14. @Test
  15. public void getVersion(){
  16. List<VersionDO> version = service.getVersion(1);
  17. log.info("version{}:"+version);
  18. }
  19. }