You are here

protected function LinkitTestCase::updateProfile in Linkit 7.3

Helper function: Update a Linkit profile.

8 calls to LinkitTestCase::updateProfile()
LinkitsearchPluginNodeTestCase::testBundleFilter in test/linkit_search_plugin_node.test
Test bundle filter.
LinkitsearchPluginNodeTestCase::testDescription in test/linkit_search_plugin_node.test
Test result description.
LinkitsearchPluginNodeTestCase::testGroupbyBundle in test/linkit_search_plugin_node.test
Test group by bundle.
LinkitsearchPluginNodeTestCase::testUnpublishedItems in test/linkit_search_plugin_node.test
Test how node states are handled.
LinkitsearchPluginTaxonomyTermTestCase::testBundleFilter in test/linkit_search_plugin_taxonomy_term.test
Test bundle filter.

... See full list

File

test/linkit.test, line 79
Tests for Linkit module.

Class

LinkitTestCase

Code

protected function updateProfile() {
  ctools_include('export');

  // Save the changes to the profile.
  ctools_export_crud_save('linkit_profiles', $this->_profile);

  // Load the saved profile.
  $this->_profile = linkit_profile_load($this->_profile->name);
}