mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/11608] Use assertContainsLang to compare language strings
PHPBB3-11608
This commit is contained in:
parent
36da38f062
commit
5825bf7d33
1 changed files with 2 additions and 2 deletions
|
@ -76,7 +76,7 @@ abstract class phpbb_functional_search_test extends phpbb_functional_test_case
|
||||||
'submit' => true,
|
'submit' => true,
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
$this->assertContains($this->lang('SEARCH_INDEX_CREATED'), $crawler->text());
|
$this->assertContainsLang('SEARCH_INDEX_CREATED', $crawler->text());
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function delete_search_index()
|
protected function delete_search_index()
|
||||||
|
@ -91,6 +91,6 @@ abstract class phpbb_functional_search_test extends phpbb_functional_test_case
|
||||||
'submit' => true,
|
'submit' => true,
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
$this->assertContains($this->lang('SEARCH_INDEX_REMOVED'), $crawler->text());
|
$this->assertContainsLang('SEARCH_INDEX_REMOVED', $crawler->text());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue