@@ -15,7 +15,7 @@ class DataTableServiceTest extends TestCase
15
15
use DatabaseTransactions;
16
16
17
17
/** @test */
18
- public function it_can_handle_ajax_request ()
18
+ public function it_can_handle_ajax_request (): void
19
19
{
20
20
$ response = $ this ->getAjax ('/users ' );
21
21
@@ -27,7 +27,7 @@ public function it_can_handle_ajax_request()
27
27
}
28
28
29
29
/** @test */
30
- public function it_returns_view_on_normal_get_request ()
30
+ public function it_returns_view_on_normal_get_request (): void
31
31
{
32
32
$ response = $ this ->get ('users ' );
33
33
@@ -36,31 +36,31 @@ public function it_returns_view_on_normal_get_request()
36
36
}
37
37
38
38
/** @test */
39
- public function it_can_return_a_csv_file ()
39
+ public function it_can_return_a_csv_file (): void
40
40
{
41
41
$ response = $ this ->get ('users?action=csv ' );
42
42
43
43
$ this ->assertInstanceOf (BinaryFileResponse::class, $ response ->baseResponse );
44
44
}
45
45
46
46
/** @test */
47
- public function it_can_return_a_xls_file ()
47
+ public function it_can_return_a_xls_file (): void
48
48
{
49
49
$ response = $ this ->get ('users?action=excel ' );
50
50
51
51
$ this ->assertInstanceOf (BinaryFileResponse::class, $ response ->baseResponse );
52
52
}
53
53
54
54
/** @test */
55
- public function it_can_return_a_pdf_file ()
55
+ public function it_can_return_a_pdf_file (): void
56
56
{
57
57
$ response = $ this ->get ('users?action=pdf ' );
58
58
59
59
$ this ->assertInstanceOf (Response::class, $ response ->baseResponse );
60
60
}
61
61
62
62
/** @test */
63
- public function it_allows_before_response_callback ()
63
+ public function it_allows_before_response_callback (): void
64
64
{
65
65
$ response = $ this ->getAjax ('users/before ' );
66
66
$ response ->assertOk ();
@@ -70,7 +70,7 @@ public function it_allows_before_response_callback()
70
70
}
71
71
72
72
/** @test */
73
- public function it_allows_response_callback ()
73
+ public function it_allows_response_callback (): void
74
74
{
75
75
$ response = $ this ->getAjax ('users/response ' );
76
76
$ response ->assertOk ();
0 commit comments