@@ -41,7 +41,7 @@ public function __construct()
41
41
$ this ->selected_page = random_int (1 , 15 );
42
42
}
43
43
44
- public function test_valid_constructor ()
44
+ public function testValidConstructor ()
45
45
{
46
46
$ ikp = new InlineKeyboardPagination ($ this ->items , $ this ->command , $ this ->selected_page , $ this ->limit );
47
47
@@ -57,13 +57,13 @@ public function test_valid_constructor()
57
57
/**
58
58
* @expectedException \TelegramBot\InlineKeyboardPagination\Exceptions\InlineKeyboardPaginationException
59
59
*/
60
- public function test_invalid_constructor ()
60
+ public function testInvalidConstructor ()
61
61
{
62
62
$ ikp = new InlineKeyboardPagination ($ this ->items , $ this ->command , 10000 , $ this ->limit );
63
63
$ ikp ->paginate ();
64
64
}
65
65
66
- public function test_valid_paginate ()
66
+ public function testValidPaginate ()
67
67
{
68
68
$ ikp = new InlineKeyboardPagination ($ this ->items , $ this ->command , $ this ->selected_page , $ this ->limit );
69
69
@@ -79,7 +79,7 @@ public function test_valid_paginate()
79
79
/**
80
80
* @expectedException \TelegramBot\InlineKeyboardPagination\Exceptions\InlineKeyboardPaginationException
81
81
*/
82
- public function test_invalid_paginate ()
82
+ public function testInvalidPaginate ()
83
83
{
84
84
$ ikp = new InlineKeyboardPagination ($ this ->items , $ this ->command , $ this ->selected_page , $ this ->limit );
85
85
@@ -93,7 +93,7 @@ public function test_invalid_paginate()
93
93
/**
94
94
* @expectedException \TelegramBot\InlineKeyboardPagination\Exceptions\InlineKeyboardPaginationException
95
95
*/
96
- public function test_invalid_max_buttons ()
96
+ public function testInvalidMaxButtons ()
97
97
{
98
98
$ ikp = new InlineKeyboardPagination (range (1 , 240 ));
99
99
$ ikp ->setMaxButtons (2 );
@@ -103,7 +103,7 @@ public function test_invalid_max_buttons()
103
103
/**
104
104
* @expectedException \TelegramBot\InlineKeyboardPagination\Exceptions\InlineKeyboardPaginationException
105
105
*/
106
- public function test_invalid_selected_page ()
106
+ public function testInvalidSelectedPage ()
107
107
{
108
108
$ ikp = new InlineKeyboardPagination (range (1 , 240 ));
109
109
$ ikp ->setSelectedPage (-5 );
@@ -113,7 +113,7 @@ public function test_invalid_selected_page()
113
113
/**
114
114
* @expectedException \TelegramBot\InlineKeyboardPagination\Exceptions\InlineKeyboardPaginationException
115
115
*/
116
- public function test_invalid_wrap_selected_button ()
116
+ public function testInvalidWrapSelectedButton ()
117
117
{
118
118
$ ikp = new InlineKeyboardPagination (range (1 , 240 ));
119
119
$ ikp ->setWrapSelectedButton ('$sdlfk$ ' );
0 commit comments