Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
laravel-adminpanel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
laravel-adminpanel
Commits
3effbb57
Commit
3effbb57
authored
Dec 11, 2017
by
Viral Solani
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'test-cases' of
https://github.com/viralsolani/laravel-adminpanel
parents
3b6f273c
8fff0018
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
18 deletions
+24
-18
phpunit.xml
phpunit.xml
+23
-17
ExampleTest.php
tests/Feature/ExampleTest.php
+1
-1
No files found.
phpunit.xml
View file @
3effbb57
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
backupGlobals=
"false"
backupStaticAttributes=
"false"
bootstrap=
"bootstrap/autoload.php"
colors=
"true"
<phpunit
backupGlobals=
"false"
convertErrorsToExceptions=
"true"
convertNoticesToExceptions=
"true"
convertWarningsToExceptions=
"true"
backupStaticAttributes=
"false"
processIsolation=
"false"
stopOnFailure=
"false"
>
bootstrap=
"bootstrap/autoload.php"
colors=
"true"
convertErrorsToExceptions=
"true"
convertNoticesToExceptions=
"true"
convertWarningsToExceptions=
"true"
processIsolation=
"false"
stopOnFailure=
"false"
>
<testsuites>
<testsuite
name=
"Feature Tests"
>
<directory
suffix=
"Test.php"
>
./tests/Feature
</directory>
</testsuite>
<testsuite
name=
"Unit Tests"
>
<directory
suffix=
"Test.php"
>
./tests/Unit
</directory>
</testsuite>
</testsuites>
<filter>
<filter>
<whitelist
processUncoveredFilesFromWhitelist=
"true"
>
<whitelist
processUncoveredFilesFromWhitelist=
"true"
>
<directory
suffix=
".php"
>
<directory
suffix=
".php"
>
./app
</directory>
./app
</directory>
</whitelist>
</whitelist>
</filter>
</filter>
<php>
<php>
<env
name=
"APP_ENV"
value=
"testing"
/>
<env
name=
"APP_ENV"
value=
"testing"
/>
<env
name=
"CACHE_DRIVER"
value=
"array"
/>
<env
name=
"DB_CONNECTION"
value=
"sqlite"
/>
<env
name=
"DB_CONNECTION"
value=
"sqlite"
/>
<env
name=
"ENABLE_REGISTRATION"
value=
"true"
/>
<env
name=
"DB_DATABASE"
value=
":memory:"
/>
<env
name=
"QUEUE_DRIVER"
value=
"sync"
/>
<env
name=
"CACHE_DRIVER"
value=
"array"
/>
<env
name=
"REGISTRATION_CAPTCHA_STATUS"
value=
"false"
/>
<env
name=
"SESSION_DRIVER"
value=
"array"
/>
<env
name=
"SESSION_DRIVER"
value=
"array"
/>
<env
name=
"QUEUE_DRIVER"
value=
"sync"
/>
<env
name=
"SCOUT_DRIVER"
value=
"null"
/>
</php>
</php>
<testsuites>
<testsuite
name=
"Application Test Suite"
>
<directory
suffix=
"Test.php"
>
./tests
</directory>
</testsuite>
</testsuites>
</phpunit>
</phpunit>
tests/Feature/ExampleTest.php
View file @
3effbb57
...
@@ -15,6 +15,6 @@ class ExampleTest extends TestCase
...
@@ -15,6 +15,6 @@ class ExampleTest extends TestCase
{
{
$response
=
$this
->
get
(
'/'
);
$response
=
$this
->
get
(
'/'
);
$response
->
assertS
tatus
(
200
);
$response
->
assertS
ee
(
'Laravel AdminPanel'
);
}
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment