You are here

public function FacetapiAdapterTestCase::testInvalidAdapter in Facet API 6.3

File

tests/facetapi.test, line 145
Tests for the Facet API module.

Class

FacetapiAdapterTestCase

Code

public function testInvalidAdapter() {
  $adapter = facetapi_adapter_load('bad_adapter');
  $this
    ->assertFalse($adapter, t('Loading an invalid adapter returns FALSE.'));
}