Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
webshell-detector
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cylab
webshell-detector
Commits
4d3692e6
Commit
4d3692e6
authored
7 years ago
by
BorelEnzo
Browse files
Options
Downloads
Patches
Plain Diff
Create basic test: file size
parent
f8aefb3e
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/ExampleTest.php
+3
-3
3 additions, 3 deletions
tests/ExampleTest.php
tests/TestCase.php
+1
-1
1 addition, 1 deletion
tests/TestCase.php
with
4 additions
and
4 deletions
tests/ExampleTest.php
+
3
−
3
View file @
4d3692e6
<?php
<?php
namespace
Tests
;
namespace
Tests
;
use
PHPUnit\Framework\TestCase
;
use
PHPUnit\Framework\TestCase
;
class
ExampleTest
extends
TestCase
class
ExampleTest
extends
TestCase
{
{
/**
/**
* A basic test example.
* A basic test example.
*
*
...
@@ -16,3 +15,4 @@ class ExampleTest extends TestCase
...
@@ -16,3 +15,4 @@ class ExampleTest extends TestCase
$this
->
assertTrue
(
true
);
$this
->
assertTrue
(
true
);
}
}
}
}
?>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
tests/TestCase.php
+
1
−
1
View file @
4d3692e6
<?php
<?php
namespace
Tests
;
namespace
Tests
;
use
Illuminate\Foundation\Testing\TestCase
as
BaseTestCase
;
use
Illuminate\Foundation\Testing\TestCase
as
BaseTestCase
;
abstract
class
TestCase
extends
BaseTestCase
abstract
class
TestCase
extends
BaseTestCase
{
{
use
CreatesApplication
;
use
CreatesApplication
;
}
}
?>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment