From df0ad7b5aa71d41aefbb356ff9f0a4a7ee103787 Mon Sep 17 00:00:00 2001 From: Gabriel Copat <copatg@cardiff.ac.uk> Date: Thu, 14 Dec 2023 09:55:22 +0000 Subject: [PATCH] a --- .../Team5/SmartTownsOld/DatasourceConfig.java | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 src/test/java/Team5/SmartTownsOld/DatasourceConfig.java diff --git a/src/test/java/Team5/SmartTownsOld/DatasourceConfig.java b/src/test/java/Team5/SmartTownsOld/DatasourceConfig.java deleted file mode 100644 index 568065a2..00000000 --- a/src/test/java/Team5/SmartTownsOld/DatasourceConfig.java +++ /dev/null @@ -1,19 +0,0 @@ -package Team5.SmartTowns; - -import javax.sql.DataSource; -import org.springframework.context.annotation.Bean; -import org.springframework.context.annotation.Configuration; -import org.springframework.jdbc.datasource.DriverManagerDataSource; - -@Configuration -public class DataSourceConfig { - - @Bean - public DataSource dataSource(){ - DriverManagerDataSource dataSource = new DriverManagerDataSource(); - dataSource.setUrl("jdbc:mariadb://localhost:3306/test_towns"); - dataSource.setUsername("root"); - dataSource.setPassword("comsc"); - return dataSource; - } -} \ No newline at end of file -- GitLab