Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F12373708
HelpersServiceProviderTest.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
881 B
Referenced Files
None
Subscribers
None
HelpersServiceProviderTest.php
View Options
<?php
namespace
AuthGrove\Tests\Providers
;
use
AuthGrove\Tests\TestCase
;
use
File
;
class
HelpersServiceProviderTest
extends
TestCase
{
///
/// Tests specific to this service provider
///
public
function
testOmittedFiles
()
{
// Gets files in the folder
$files
=
File
::
allFiles
(
app_path
(
'Helpers'
));
array_walk
(
$files
,
function
(&
$item
)
{
$item
=
(
string
)
$item
;
}
);
// Asserts each of these file are well included, if not provide an hint
// to solve the issue.
$this
->
assertArrayContainsArrayItems
(
$files
,
get_included_files
(),
"Files in the helpers/ folder are intended to be required in the "
.
"HelpersServiceProvider::register method. "
.
"Edit app/Providers/HelpersServiceProvider.php to fix the issue."
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Nov 1, 18:18 (1 d, 7 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3121728
Default Alt Text
HelpersServiceProviderTest.php (881 B)
Attached To
Mode
rGROVE Auth Grove
Attached
Detach File
Event Timeline
Log In to Comment