-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chapter2-5 测试好像有问题 #52
Comments
yansheng836
added a commit
to yansheng836/SpringBoot-Learning
that referenced
this issue
Aug 1, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
1.测试问题
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.DEFINED_PORT)
改为@SpringBootTest
好像就可以了。see https://github.com/dyc87112/SpringBoot-Learning/blob/master/2.1.x/chapter2-5/src/test/java/com/didispace/chapter25/DemoApplicationTests.java#L17
2.
maven install
问题The text was updated successfully, but these errors were encountered: