-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathIncomeServiceTest.php
46 lines (40 loc) · 1.07 KB
/
IncomeServiceTest.php
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
38
39
40
41
42
43
44
45
46
<?php
use OldTimeGuitarGuy\Plaid\Contracts\Http\Response;
class IncomeServiceTest extends ServiceTest
{
public function testAddUser()
{
$this->assertInstanceOf(
Response::class,
$this->plaid()->income()->user()->add('wells', $this->credentials())
);
}
public function testUserStep()
{
$this->assertInstanceOf(
Response::class,
$this->plaid()->income()->user()->step($this->user('test_bofa'), 'tomato')
);
}
public function testUpdateUser()
{
$this->assertInstanceOf(
Response::class,
$this->plaid()->income()->user()->update($this->user(), $this->credentials())
);
}
public function testDeleteUser()
{
$this->assertInstanceOf(
Response::class,
$this->plaid()->income()->user()->delete($this->user())
);
}
public function testGetData()
{
$this->assertInstanceOf(
Response::class,
$this->plaid()->income()->get($this->user())
);
}
}