File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 2
2
3
3
namespace YdbPlatform \Ydb \Auth ;
4
4
5
- class ReadFromJsonCredentials extends Auth
5
+ class ReadFromTextCredentials extends Auth
6
6
{
7
7
8
8
protected $ fileName ;
Original file line number Diff line number Diff line change 2
2
namespace YdbPlatform \Ydb \Test ;
3
3
4
4
use PHPUnit \Framework \TestCase ;
5
- use YdbPlatform \Ydb \Auth \ReadFromJsonCredentials ;
5
+ use YdbPlatform \Ydb \Auth \ReadFromTextCredentials ;
6
6
use YdbPlatform \Ydb \Ydb ;
7
7
use YdbPlatform \Ydb \YdbTable ;
8
8
@@ -19,7 +19,7 @@ public function testReadTokenFile(){
19
19
// Auto discovery (dedicated server only)
20
20
'discovery ' => false ,
21
21
22
- 'credentials ' => new ReadFromJsonCredentials ("./tests/token.txt " )
22
+ 'credentials ' => new ReadFromTextCredentials ("./tests/token.txt " )
23
23
];
24
24
25
25
$ ydb = new Ydb ($ config );
You can’t perform that action at this time.
0 commit comments