Fix admin_views tests after commit 3be368c73e.