Compare commits
1 Commits
change_dat
...
master
Author | SHA1 | Date |
---|---|---|
|
7558488fc1 | 5 years ago |
@ -0,0 +1,25 @@ |
||||
package me.bearns.fias; |
||||
|
||||
import me.bearns.fias.exceptions.CommonException; |
||||
import me.bearns.fias.service.Updater; |
||||
import org.junit.Test; |
||||
import org.junit.runner.RunWith; |
||||
import org.springframework.beans.factory.annotation.Autowired; |
||||
import org.springframework.boot.test.context.SpringBootTest; |
||||
import org.springframework.test.context.ActiveProfiles; |
||||
import org.springframework.test.context.junit4.SpringRunner; |
||||
|
||||
@ActiveProfiles("test") |
||||
@RunWith(SpringRunner.class) |
||||
@SpringBootTest |
||||
public class UpdaterTest { |
||||
|
||||
@Autowired |
||||
Updater service; |
||||
|
||||
@Test |
||||
public void integrationTest() throws CommonException { |
||||
|
||||
service.reload(22L); |
||||
} |
||||
} |
Loading…
Reference in new issue