Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
EcomDev_PHPUnit
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Open
EcomDev_PHPUnit
Commits
9742b6a1
Commit
9742b6a1
authored
Mar 24, 2015
by
Ivan Chepurnyi
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #241 from kojiromike/observe-and-report
Disable Events without Disabling Event Capture
parents
0a8932d6
1e7a0d4e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
app/code/community/EcomDev/PHPUnit/Model/App.php
app/code/community/EcomDev/PHPUnit/Model/App.php
+10
-10
No files found.
app/code/community/EcomDev/PHPUnit/Model/App.php
View file @
9742b6a1
...
...
@@ -527,13 +527,13 @@ class EcomDev_PHPUnit_Model_App extends Mage_Core_Model_App
{
if
(
$this
->
_eventsEnabled
)
{
parent
::
dispatchEvent
(
$eventName
,
$args
);
}
if
(
!
isset
(
$this
->
_dispatchedEvents
[
$eventName
]))
{
$this
->
_dispatchedEvents
[
$eventName
]
=
0
;
}
$this
->
_dispatchedEvents
[
$eventName
]
++
;
}
return
$this
;
}
...
...
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