Commit f2f572e2 authored by webchick's avatar webchick
Browse files

Issue #2336689 by alexpott: Test that a locked language can not be deleted through the UI.

parent 301cbcaf
......@@ -155,6 +155,10 @@ function testLanguageList() {
// We need raw here because %language and %langcode will add HTML.
$t_args = array('%language' => 'English', '%langcode' => 'en');
$this->assertRaw(t('The %language (%langcode) language has been removed.', $t_args), 'The English language has been removed.');
// Ensure we can't delete a locked language.
$this->assertResponse(403, 'Can not delete locked language');
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment