Skip to content

Commit

Permalink
make tests work for now
Browse files Browse the repository at this point in the history
  • Loading branch information
jts3304-tamu committed Feb 13, 2025
1 parent ec93beb commit 4ee00b9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions backend/mstests/Controllers/DBConnection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ namespace Chemistry_Cafe_API.Tests
public class DBConnection
{
private static string server = Environment.GetEnvironmentVariable("MYSQL_SERVER") ?? "localhost";
private static string user = System.Environment.GetEnvironmentVariable("MYSQL_USER") ?? "admin";
private static string password = System.Environment.GetEnvironmentVariable("MYSQL_PASSWORD") ?? "admin";
private static string database = System.Environment.GetEnvironmentVariable("MYSQL_DATABASE") ?? "default";
private static string user = System.Environment.GetEnvironmentVariable("MYSQL_USER") ?? "chemistrycafedev";
private static string password = System.Environment.GetEnvironmentVariable("MYSQL_PASSWORD") ?? "chemistrycafe";
private static string database = System.Environment.GetEnvironmentVariable("MYSQL_DATABASE") ?? "chemistry_db";
private static string port = "3306"; // Default MySQL port

public static MySqlDataSource DataSource = new MySqlDataSource(
Expand Down

0 comments on commit 4ee00b9

Please sign in to comment.