Add tests for NULL to ActionTest
authorThiemo Mättig <thiemo.maettig@wikimedia.de>
Thu, 17 Jul 2014 08:08:49 +0000 (10:08 +0200)
committerThiemo Mättig <thiemo.maettig@wikimedia.de>
Tue, 22 Jul 2014 11:55:44 +0000 (13:55 +0200)
commite2675eaeef2cb9be41b0a0ee30635f9f54a1ed26
tree24d33a412da69bdd81bf6ba7179546caf616261e
parent1ccdd5bec0fa2a9bed75cb940828c827c11285e4
Add tests for NULL to ActionTest

NULL should default to 'view'. But both the exists check and the
factory should fail when asked for a NULL action.

Change-Id: I5751489eed890bb44101f2a4ef73002bff68b207
tests/phpunit/includes/actions/ActionTest.php