Skip to content

Commit 328aa07

Browse files
author
Илья
committed
Update StaticCredentialsTest.php
1 parent a32ae97 commit 328aa07

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
run: composer install --prefer-dist --no-progress
5959

6060
- name: Create YDB User
61-
run: docker exec $(docker ps --latest --quiet) /ydb -e grpc://localhost:2136 -d /local scripting yql -s "CREATE USER user PASSWORD '1'"
61+
run: docker exec $(docker ps --latest --quiet) /ydb -e grpc://localhost:2136 -d /local scripting yql -s "CREATE USER testuser PASSWORD 'test_password'"
6262

6363
- name: Run tests
6464
run: ./vendor/bin/phpunit \

tests/StaticCredentialsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public function testGetAuthToken()
2727
'iam_config' => [
2828
'insecure' => true,
2929
],
30-
'credentials' => new StaticAuthentication('user', '1')
30+
'credentials' => new StaticAuthentication('testuser', 'test_password')
3131
];
3232
$ydb = new Ydb($config, new SimpleStdLogger(7));
3333
$ydb->table()->query("SELECT 1;");

0 commit comments

Comments
 (0)