peer-at-code-backend/test/be/jeffcheasey88/peeratcode/userstories/BaseUserStoriesTest.java
2023-09-04 12:36:18 +02:00

28 lines
622 B
Java

package be.jeffcheasey88.peeratcode.userstories;
import java.io.File;
import be.jeffcheasey88.peeratcode.Configuration;
import be.jeffcheasey88.peeratcode.TestDatabaseRepository;
public class BaseUserStoriesTest {
private Configuration config;
private TestDatabaseRepository repo;
public BaseUserStoriesTest(){}
public void init(){
this.config = new Configuration("config-test.txt");
this.repo = new TestDatabaseRepository(config, new File("database-schem.sql"));
}
public Configuration getConfig(){
return this.config;
}
public TestDatabaseRepository getRepository(){
return this.repo;
}
}