You are here

public function BiblioKeywordWebTestCase::testBiblioGetKeywordById in Bibliography Module 7

File

tests/BiblioKeywordWebTestCase.test, line 58

Class

BiblioKeywordWebTestCase
Biblio keyword web tests.

Code

public function testBiblioGetKeywordById() {
  $keyword = $this
    ->createKeyword();
  $word = (array) biblio_get_keyword_by_id($keyword['kid']);
  $this
    ->assertEqual($keyword, $word, 'Get keyword by ID');
}