Update AdminTest.php

It's copy-paste from other PR, but it works.