added dev conig
This commit is contained in:
parent
0b807e355c
commit
d2a679fb22
@ -48,9 +48,9 @@ public class App {
|
||||
InputStream inputStream = getClass().getClassLoader().getResourceAsStream("Zajecia.xlsx");
|
||||
ConfigData data = new ConfigData(
|
||||
new TourData(new Date(System.currentTimeMillis()),
|
||||
new Date(System.currentTimeMillis())),
|
||||
new TourData(new Date(System.currentTimeMillis()),
|
||||
new Date(System.currentTimeMillis())),
|
||||
new Date(System.currentTimeMillis() + 86400000)),
|
||||
new TourData(new Date(System.currentTimeMillis() + 86400000),
|
||||
new Date(System.currentTimeMillis() + 2 * 86400000)),
|
||||
inputStream);
|
||||
this.contrl.config(data);
|
||||
|
||||
|
@ -7,9 +7,7 @@ import static org.springframework.security.test.web.servlet.setup.SecurityMockMv
|
||||
|
||||
import java.io.InputStream;
|
||||
|
||||
import com.plannaplan.entities.AppConfig;
|
||||
import com.plannaplan.entities.User;
|
||||
import com.plannaplan.services.AppConfigService;
|
||||
import com.plannaplan.services.UserService;
|
||||
import com.plannaplan.types.UserRoles;
|
||||
|
||||
@ -39,9 +37,6 @@ public class ConfigControllerTest extends AbstractControllerTest {
|
||||
@Autowired
|
||||
private UserService service;
|
||||
|
||||
@Autowired
|
||||
private AppConfigService configService;
|
||||
|
||||
@Test
|
||||
public void shouldReturnNoAuthorized() throws Exception {
|
||||
final InputStream inputStream = getClass().getClassLoader().getResourceAsStream(FILE_NAME);
|
||||
|
Loading…
Reference in New Issue
Block a user