You are here

function UserpointsTestCase::testGetCategories in User Points 6

File

tests/userpoints_api.test, line 518

Class

UserpointsTestCase

Code

function testGetCategories() {
  $cats = userpoints_get_categories();
  $this
    ->assertTrue(is_array($cats), 'Successfully verified userpoints_get_categories() returned an array');
}