-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Most of the datasource abstraction is completed with this commit.
A seperate datasource interface is defined and a concrete Doctrine datasource implimentation is created. This is now utilized by the main phabric tests and all tests and behat features have been updated.
- Loading branch information
Showing
13 changed files
with
805 additions
and
213 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
Binary file not shown.
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
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
Oops, something went wrong.
1566e23
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The verify functions are acting somewhat like assert lines, except you end up duplicating the exception messages in the caller.
It's also probably worth firming up the interface for select and delete, and maybe some rough docs for implementing your own datasource (including how there's no reason you couldn't have a data source which hits an external API or actually fills in forms on your front end). I'd have the Doctrine DBAL source throw NotImplemented for the methods currently not supported in the mean-time.