package cn.flightfeather.supervision.common.wx
|
|
import org.junit.Test
|
import org.junit.jupiter.api.Assertions.*
|
import org.junit.jupiter.api.extension.ExtendWith
|
import org.junit.runner.RunWith
|
import org.springframework.beans.factory.annotation.Autowired
|
import org.springframework.boot.test.context.SpringBootTest
|
import org.springframework.test.context.junit.jupiter.SpringExtension
|
import org.springframework.test.context.junit4.SpringRunner
|
|
@RunWith(SpringRunner::class)
|
@ExtendWith(SpringExtension::class)
|
@SpringBootTest
|
class TemplateManagerTest{
|
|
@Autowired
|
lateinit var templateManager: TemplateManager
|
|
@Test
|
fun newTemplate() {
|
val msg = templateManager.newTemplate(0, "otZkc5cC55BtV2AFZdXMvBw0oJo8", listOf("value1", "value2", "value3", "value4"))
|
println(msg)
|
}
|
}
|