MDL-47726 availability: fix tests when there is a text custom field
authorTim Hunt <T.J.Hunt@open.ac.uk>
Mon, 20 Oct 2014 14:53:19 +0000 (15:53 +0100)
committerTim Hunt <T.J.Hunt@open.ac.uk>
Mon, 20 Oct 2014 15:15:34 +0000 (16:15 +0100)
commita3d5068083b465a2ede09f34675dc177379156d0
tree2bdefbb869303d21269f18a9b62c58f0bcd05c29
parentb49de5d93009a421731af5a80e1dec6eb46c9ca9
MDL-47726 availability: fix tests when there is a text custom field

This unit tests assumed that on a fresh install, there were no custom
user-profile fields. Given some third-party plugins, that assumption is
false.
availability/condition/profile/tests/condition_test.php