Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
W
wp-logs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wpdesk
wp-logs
Commits
3e2b08ff
Commit
3e2b08ff
authored
6 years ago
by
dyszczo
Browse files
Options
Downloads
Patches
Plain Diff
fix for tests
parent
8513b8e2
No related branches found
No related tags found
1 merge request
!6
Feature/specific logger
Pipeline
#6126
passed
6 years ago
Stage: tools
Stage: tests
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/integration/TestWPDeskLoggerFactory.php
+2
-2
2 additions, 2 deletions
tests/integration/TestWPDeskLoggerFactory.php
with
2 additions
and
2 deletions
tests/integration/TestWPDeskLoggerFactory.php
+
2
−
2
View file @
3e2b08ff
...
...
@@ -18,7 +18,7 @@ class TestWPDeskLoggerFactory extends WP_UnitTestCase
{
$factory
=
new
WPDeskLoggerFactory
();
$this
->
assertInstanceOf
(
Logger
::
class
,
$factory
->
createWPDeskLogger
(),
"Logger should be created"
);
$this
->
assertTrue
(
$factory
->
is
WPDesk
LogWorking
());
$this
->
assertTrue
(
$factory
->
isLogWorking
());
}
public
function
testWCIsNotCorruptedByOtherTests
()
...
...
@@ -94,7 +94,7 @@ class TestWPDeskLoggerFactory extends WP_UnitTestCase
$someMessage
=
'whatever'
;
$factory
=
new
WPDeskLoggerFactory
();
$logFilename
=
$factory
->
get
WPDesk
FileName
();
$logFilename
=
$factory
->
getFileName
();
unlink
(
$logFilename
);
$this
->
assertFileNotExists
(
$logFilename
);
...
...
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