This repository has been archived by the owner on Jan 30, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[zendframework/zendframework#3295] Fixed tests and logic flow
- Fixed the unit tests for the unsubscribe functionality. The table gateway was expecting the "delete" method now (not "update"), with only the "id" member in the array argument; additionally, we needed to test the return value, so I added a "will" clause. - Altered the workflow of Callback to use a switch() statement for the "hub_mode"; this will make adding additional cases in the future easier, and allows us to raise an exception on an invalid mode.
- Loading branch information
1 parent
9cc0548
commit a7ef12f
Showing
2 changed files
with
23 additions
and
22 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
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