Add AspectMock for mocking built-in functions

It's possible to do this without the library, but the library makes it
simpler, so we don't have to have a bunch of extra files in the test code
base for each of the mocked methods in the namespace, and then manually
require them. This is much cleaner and I think makes it more obvious what
the mock is doing.
This commit is contained in:
Jessica Mauerhan
2016-03-22 11:11:33 -04:00
parent cfe3f84dbb
commit dfd89e2275
+2 -1
View File
@@ -25,7 +25,8 @@
"source": "https://github.com/ramsey/uuid"
},
"require": {
"php": ">=5.4"
"php": ">=5.4",
"codeception/aspect-mock": "^1.0"
},
"require-dev": {
"moontoast/math": "^1.1",