@@ -43,17 +43,27 @@ public function show_calls_correct_url()
43
43
/** @test */
44
44
public function all_unconfirmed_calls_correct_url ()
45
45
{
46
- $ this ->assertResponse ('GET ' , 'transactions/unconfirmed ' , function ($ client ) {
47
- return $ client ->transactions ()->allUnconfirmed ();
48
- });
46
+ $ this ->assertResponse (
47
+ method: 'GET ' ,
48
+ path: 'transactions/unconfirmed ' ,
49
+ callback: function ($ client ) {
50
+ return $ client ->transactions ()->allUnconfirmed ();
51
+ },
52
+ expectedApi: 'transactions '
53
+ );
49
54
}
50
55
51
56
/** @test */
52
57
public function show_unconfirmed_calls_correct_url ()
53
58
{
54
- $ this ->assertResponse ('GET ' , 'transactions/unconfirmed/dummy ' , function ($ client ) {
55
- return $ client ->transactions ()->showUnconfirmed ('dummy ' );
56
- });
59
+ $ this ->assertResponse (
60
+ method: 'GET ' ,
61
+ path: 'transactions/unconfirmed/dummy ' ,
62
+ callback: function ($ client ) {
63
+ return $ client ->transactions ()->showUnconfirmed ('dummy ' );
64
+ },
65
+ expectedApi: 'transactions '
66
+ );
57
67
}
58
68
59
69
/** @test */
@@ -79,4 +89,17 @@ public function schemas_calls_correct_url()
79
89
return $ client ->transactions ()->schemas ();
80
90
});
81
91
}
92
+
93
+ /** @test */
94
+ public function configuration_calls_correct_url ()
95
+ {
96
+ $ this ->assertResponse (
97
+ method: 'GET ' ,
98
+ path: 'configuration ' ,
99
+ callback: function ($ client ) {
100
+ return $ client ->transactions ()->configuration ();
101
+ },
102
+ expectedApi: 'transactions '
103
+ );
104
+ }
82
105
}
0 commit comments