-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CU-8694eqmtm Updated integration test with logic which temporarily di…
…sables observer event, so it will not be triggered before proper data is mocked
- Loading branch information
1 parent
4fb49d3
commit bdf4a73
Showing
2 changed files
with
44 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php | ||
namespace StoreKeeper\StoreKeeper\Test\Integration\Mock; | ||
|
||
use Magento\Framework\Event\Observer; | ||
use Magento\Framework\Event\ObserverInterface; | ||
|
||
class InvoiceObserverMock implements ObserverInterface | ||
{ | ||
public function execute(Observer $observer) | ||
{ | ||
// Dummy data for disabling original observer | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters