1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
| package com.ks.goldcorn.service;
|
| import org.junit.jupiter.api.Test;
| import org.slf4j.Logger;
| import org.slf4j.LoggerFactory;
| import org.springframework.boot.test.context.SpringBootTest;
|
| @SpringBootTest
| class JdGiftcouponApplicationTests {
|
|
| @Test
| void contextLoads() {
|
|
| }
|
| @Test
| public void log() {
| Logger logger = LoggerFactory.getLogger(JdGiftcouponApplicationTests.class);
| logger.error("错误测试");
| }
|
|
| }
|
|