-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathNodeTest.php
More file actions
37 lines (29 loc) · 1.05 KB
/
NodeTest.php
File metadata and controls
37 lines (29 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?php
declare(strict_types=1);
namespace ArkEcosystem\Tests\Client\API;
use ArkEcosystem\Client\ArkClient;
it('calls the correct url for status', function () {
$this->assertResponse('GET', 'node/status', function (ArkClient $client) {
return $client->node()->status();
});
});
it('calls the correct url for syncing', function () {
$this->assertResponse('GET', 'node/syncing', function (ArkClient $client) {
return $client->node()->syncing();
});
});
it('calls the correct url for configuration', function () {
$this->assertResponse('GET', 'node/configuration', function (ArkClient $client) {
return $client->node()->configuration();
});
});
it('calls the correct url for crypto', function () {
$this->assertResponse('GET', 'node/configuration/crypto', function (ArkClient $client) {
return $client->node()->crypto();
});
});
it('calls the correct url for fees', function () {
$this->assertResponse('GET', 'node/fees', function (ArkClient $client) {
return $client->node()->fees();
});
});