File tree Expand file tree Collapse file tree 3 files changed +12
-8
lines changed
test_app/TestApp/Controller Expand file tree Collapse file tree 3 files changed +12
-8
lines changed Original file line number Diff line number Diff line change 32
32
"autoload-dev" : {
33
33
"psr-4" : {
34
34
"BryanCrowe\\ ApiPagination\\ " : " src" ,
35
- "BryanCrowe\\ ApiPagination\\ Test\\ " : " tests"
35
+ "BryanCrowe\\ ApiPagination\\ Test\\ " : " tests" ,
36
+ "BryanCrowe\\ ApiPagination\\ TestApp\\ " : " tests/test_app/TestApp"
36
37
}
37
38
},
38
39
"scripts" : {
Original file line number Diff line number Diff line change 2
2
namespace BryanCrowe \ApiPagination \Test ;
3
3
4
4
use BryanCrowe \ApiPagination \Controller \Component \ApiPaginationComponent ;
5
- use Cake \ Controller \ Controller ;
5
+ use BryanCrowe \ ApiPagination \ TestApp \ Controller \ ArticlesController ;
6
6
use Cake \Event \Event ;
7
7
use Cake \Network \Request ;
8
8
use Cake \Network \Response ;
9
9
use Cake \ORM \TableRegistry ;
10
10
use Cake \TestSuite \TestCase ;
11
11
12
-
13
- class ArticlesController extends Controller
14
- {
15
- public $ components = ['Paginator ' ];
16
- }
17
-
18
12
/**
19
13
* ApiPaginationComponentTest class
20
14
*/
Original file line number Diff line number Diff line change
1
+ <?php
2
+ namespace BryanCrowe \ApiPagination \TestApp \Controller ;
3
+
4
+ use Cake \Controller \Controller ;
5
+
6
+ class ArticlesController extends Controller
7
+ {
8
+ public $ components = ['Paginator ' ];
9
+ }
You can’t perform that action at this time.
0 commit comments