Fix admin_views tests after commit 3be368c73e.
Merge pull request #1003 from bmispelon/fix-tests-3be368c73e

Fix admin_views tests after commit 3be368c73e.