File tree Expand file tree Collapse file tree 5 files changed +8
-8
lines changed Expand file tree Collapse file tree 5 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
<phpunit backupGlobals =" false"
3
3
backupStaticAttributes =" false"
4
- bootstrap =" bootstrap/autoload.php"
4
+ bootstrap =" tests/ bootstrap/autoload.php"
5
5
colors =" true"
6
6
convertErrorsToExceptions =" true"
7
7
convertNoticesToExceptions =" true"
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ public function createApplication()
16
16
17
17
$ testEnvironment = 'testing ' ;
18
18
19
- return require __DIR__ .'/../ bootstrap/start.php ' ;
19
+ return require __DIR__ .'/bootstrap/start.php ' ;
20
20
}
21
21
22
22
public function setUp ()
@@ -48,7 +48,7 @@ public function test_datatables_make_function()
48
48
{
49
49
$ demo = DB ::table ('demos ' )->select ('id ' ,'name ' );
50
50
$ output = Datatables::of ($ demo )->make ();
51
- $ this ->assertTrue ( $ output instanceof Illuminate \Http \JsonResponse ? true : false );
51
+ $ this ->assertInstanceOf ( ' Illuminate\Http\JsonResponse ' , $ output );
52
52
}
53
53
54
54
Original file line number Diff line number Diff line change 14
14
|
15
15
*/
16
16
17
- require __DIR__ .'/../vendor/autoload.php ' ;
17
+ require __DIR__ .'/../../ vendor/autoload.php ' ;
18
18
19
19
/*
20
20
|--------------------------------------------------------------------------
Original file line number Diff line number Diff line change 13
13
|
14
14
*/
15
15
16
- 'app ' => __DIR__ .'/../vendor/laravel/laravel/app ' ,
16
+ 'app ' => __DIR__ .'/../../ vendor/laravel/laravel/app ' ,
17
17
18
18
/*
19
19
|--------------------------------------------------------------------------
26
26
|
27
27
*/
28
28
29
- 'public ' => __DIR__ .'/../vendor/laravel/laravel/public ' ,
29
+ 'public ' => __DIR__ .'/../../ vendor/laravel/laravel/public ' ,
30
30
31
31
/*
32
32
|--------------------------------------------------------------------------
39
39
|
40
40
*/
41
41
42
- 'base ' => __DIR__ .'/.. ' ,
42
+ 'base ' => __DIR__ .'/../.. ' ,
43
43
44
44
/*
45
45
|--------------------------------------------------------------------------
52
52
|
53
53
*/
54
54
55
- 'storage ' => __DIR__ .'/../vendor/laravel/laravel/app/storage ' ,
55
+ 'storage ' => __DIR__ .'/../../ vendor/laravel/laravel/app/storage ' ,
56
56
57
57
);
File renamed without changes.
You can’t perform that action at this time.
0 commit comments