Skip to content

Commit 5121630

Browse files
author
Илья
committed
Rename ReadFromTextCredentials.php
1 parent 5f33708 commit 5121630

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Auth/ReadFromJsonCredentials.php renamed to src/Auth/ReadFromTextCredentials.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace YdbPlatform\Ydb\Auth;
44

5-
class ReadFromJsonCredentials extends Auth
5+
class ReadFromTextCredentials extends Auth
66
{
77

88
protected $fileName;

tests/CheckReadTokenFileTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
namespace YdbPlatform\Ydb\Test;
33

44
use PHPUnit\Framework\TestCase;
5-
use YdbPlatform\Ydb\Auth\ReadFromJsonCredentials;
5+
use YdbPlatform\Ydb\Auth\ReadFromTextCredentials;
66
use YdbPlatform\Ydb\Ydb;
77
use YdbPlatform\Ydb\YdbTable;
88

@@ -19,7 +19,7 @@ public function testReadTokenFile(){
1919
// Auto discovery (dedicated server only)
2020
'discovery' => false,
2121

22-
'credentials' => new ReadFromJsonCredentials("./tests/token.txt")
22+
'credentials' => new ReadFromTextCredentials("./tests/token.txt")
2323
];
2424

2525
$ydb = new Ydb($config);

0 commit comments

Comments
 (0)