You are here

public function BiblioKeywordWebTestCase::testBiblioDeleteKeyword in Bibliography Module 7

File

tests/BiblioKeywordWebTestCase.test, line 49

Class

BiblioKeywordWebTestCase
Biblio keyword web tests.

Code

public function testBiblioDeleteKeyword() {
  $keyword = $this
    ->createKeyword();
  $num_deleted = biblio_delete_keyword($keyword['kid']);
  $this
    ->assertEqual($num_deleted, 1, t('Deleted a single keyword'));
}