Skip to content

Commit

Permalink
try with user dox
Browse files Browse the repository at this point in the history
  • Loading branch information
necessarylion committed Dec 30, 2023
1 parent cf38758 commit 469406e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
ports:
- 3306
env:
MYSQL_USER: root
MYSQL_USER: dox
MYSQL_PASSWORD: password
MYSQL_DATABASE: dox-framework
MYSQL_ROOT_PASSWORD: password
Expand Down Expand Up @@ -62,4 +62,4 @@ jobs:
- name: Run Test (query builder postgres)
run: melos test_query_builder_postgres
- name: Run Test (query builder mysql)
run: melos test_query_builder_mysql
run: USER=dox melos test_query_builder_mysql
3 changes: 2 additions & 1 deletion packages/dox-query-builder/test/mysql.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ import 'package:mysql1/mysql1.dart';
Future<MySqlConnection> mysqlConnection() {
String host = Platform.environment['DB_HOST'] ?? 'localhost';
int port = int.parse(Platform.environment['PORT'] ?? '3306');
String user = Platform.environment['USER'] ?? 'root';
ConnectionSettings settings = ConnectionSettings(
host: host,
port: port,
user: 'root',
user: user,
password: 'password',
db: 'dox-framework',
);
Expand Down

0 comments on commit 469406e

Please sign in to comment.