MDL-59734 auth_ldap: Fix role sync
authorAndrew Nicols <andrew@nicols.co.uk>
Mon, 7 Aug 2017 01:42:23 +0000 (09:42 +0800)
committerAndrew Nicols <andrew@nicols.co.uk>
Mon, 7 Aug 2017 01:42:24 +0000 (09:42 +0800)
commited7431a37b591cdf51c68f620a6de8e5c605be9c
treef2373f3588e0eddf6f4342e7a5e5d4ee151d77ce
parent8146b1f06de51d1ca6b4043bc524ed2fe26aaa72
MDL-59734 auth_ldap: Fix role sync

The unit tests were failing because the upgrade step was missed.
In addition, there was a typo in a variable name, which meant that the
role was not actually synchronised.
auth/ldap/auth.php
auth/ldap/tests/plugin_test.php