You are here

public function LinkitProfileUICRUDTestCase::testLoadNonExistingProfile in Linkit 7.3

Load a profile that doesn't exists.

File

test/linkit_profile.test, line 123
Tests for Linkit module.

Class

LinkitProfileUICRUDTestCase
Tests Linkit profile UI CRUD.

Code

public function testLoadNonExistingProfile() {

  // Load a profile that doesn't exists.
  $loaded_profile = linkit_profile_load('my_none_existing_profile');
  $this
    ->assertFalse($loaded_profile, 'FALSE is returned when loading a non existing profile.');
}