mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-02-07 08:19:41 +08:00
Initial Commit
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
package icu.samnyan.aqua;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
import org.springframework.test.context.TestPropertySource;
|
||||
|
||||
@TestPropertySource(locations = "classpath:application-test.properties")
|
||||
@SpringBootTest
|
||||
class AquaServerApplicationTests {
|
||||
|
||||
@Test
|
||||
void contextLoads() {
|
||||
}
|
||||
|
||||
}
|
||||
11
src/test/resources/application-test.properties
Normal file
11
src/test/resources/application-test.properties
Normal file
@@ -0,0 +1,11 @@
|
||||
# For testing
|
||||
## AimeDb server setting
|
||||
aimedb.server.enable=true
|
||||
aimedb.server.port=22345
|
||||
allnet.server.host=localhost
|
||||
allnet.server.port=80
|
||||
## Http Server Port
|
||||
server.port=80
|
||||
spring.datasource.driver-class-name=org.h2.Driver
|
||||
spring.datasource.url=jdbc:h2:mem:db
|
||||
spring.jpa.hibernate.ddl-auto=create-drop
|
||||
Reference in New Issue
Block a user