Hi all,
I have found that many functional tests in webservice plugins fails.
The reason is that PERMISSION_CHECK_TESTING in permission_check
function has been removed. (see commit 1e3ac993a336)
If your functional test fails with error:
permission_check1: User does not exist, #<Account id: 1, login: "test_user",
....
then add this stub into the test setup function:
PolKit.stubs(:polkit_check).with('org.opensuse.yast.system.FOO',
'test_user').returns(:yes)
--
Best Regards
Ladislav Slezák
Yast Developer
------------------------------------------------------------------------
SUSE LINUX, s.r.o. e-mail: [email protected]
Lihovarská 1060/12 tel: +420 284 028 960
190 00 Prague 9 fax: +420 284 028 951
Czech Republic http://www.suse.cz/
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]