parent
94dab49cd1
commit
dc8d2397c8
@ -1,6 +0,0 @@
|
|||||||
<html>
|
|
||||||
<body>
|
|
||||||
<h1>hello word!!!</h1>
|
|
||||||
<p>this is a html page</p>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,13 +1,19 @@
|
|||||||
package com.ljj.myspringboot;
|
package com.ljj.myspringboot;
|
||||||
|
|
||||||
|
import com.ljj.myspringboot.demos.web.User;
|
||||||
import org.junit.jupiter.api.Test;
|
import org.junit.jupiter.api.Test;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.boot.test.context.SpringBootTest;
|
import org.springframework.boot.test.context.SpringBootTest;
|
||||||
|
|
||||||
|
import static org.springframework.test.util.AssertionErrors.assertEquals;
|
||||||
|
|
||||||
@SpringBootTest
|
@SpringBootTest
|
||||||
class MyspringbootApplicationTests {
|
class MyspringbootApplicationTests {
|
||||||
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
void contextLoads() {
|
void contextLoads() {
|
||||||
|
assertEquals("正确",1,"1==1");
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in new issue