You are here

protected function AccessFilterResrictionTestCase::assertSaveFilter in Access Filter 7

Check update filter works correctly.

Parameters

object $filter: An object of filter.

Return value

bool TRUE if the assertion succeeded, FALSE otherwise.

1 call to AccessFilterResrictionTestCase::assertSaveFilter()
AccessFilterResrictionTestCase::testRestrictionAccess in ./access_filter.test
Test filter restriction functions.

File

./access_filter.test, line 290
Tests for access_filter.module

Class

AccessFilterResrictionTestCase

Code

protected function assertSaveFilter($filter) {
  return $this
    ->assertTrue(access_filter_save($filter), 'Access filter saved.');
}