]> source.dussan.org Git - nextcloud-server.git/commit
Refactor provision api app's UserControllerTest 3651/head
authorChristoph Wurst <christoph@winzerhof-wurst.at>
Tue, 28 Feb 2017 09:40:49 +0000 (10:40 +0100)
committerChristoph Wurst <christoph@winzerhof-wurst.at>
Tue, 28 Feb 2017 09:40:49 +0000 (10:40 +0100)
commit8e370bbf2806cace759b39209618f649cdcc7091
tree747421115e03739e10013560c049a6adb20882f4
parentb72b02778dac5b1ab15594de8dce0ccd04a030ba
Refactor provision api app's UserControllerTest

* Replace deprecated getMock with createMock
* Use createMock consistently
* Use php's ::class references

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
apps/provisioning_api/tests/Controller/UsersControllerTest.php