Skip to content

Commit

Permalink
Use correctly set language
Browse files Browse the repository at this point in the history
  • Loading branch information
nijel committed Jun 11, 2013
1 parent bb92268 commit a1b6d4b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test/libraries/PMA_generateCommonUrl_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function testOldStyle()

$separator = PMA_get_arg_separator();
$expected = 'server=x' . htmlentities($separator)
. 'lang=x' . htmlentities($separator)
. 'lang=en' . htmlentities($separator)
. 'collation_connection=x' . htmlentities($separator)
. 'token=token'
;
Expand All @@ -49,7 +49,7 @@ public function testOldStyleDbOnly()

$separator = PMA_get_arg_separator();
$expected = 'server=x' . htmlentities($separator)
. 'lang=x' . htmlentities($separator)
. 'lang=en' . htmlentities($separator)
. 'collation_connection=x' . htmlentities($separator)
. 'token=token'
;
Expand All @@ -69,7 +69,7 @@ public function testNewStyle()

$separator = PMA_get_arg_separator();
$expected = 'server=x' . htmlentities($separator)
. 'lang=x' . htmlentities($separator)
. 'lang=en' . htmlentities($separator)
. 'collation_connection=x' . htmlentities($separator)
. 'token=token'
;
Expand All @@ -90,7 +90,7 @@ public function testOldStyleWithAlternateSeparator()

$separator = PMA_get_arg_separator();
$expected = 'server=x' . $separator
. 'lang=x' . $separator
. 'lang=en' . $separator
. 'collation_connection=x' . $separator
. 'token=token'
;
Expand All @@ -108,7 +108,7 @@ public function testOldStyleWithAlternateSeparatorDbOnly()

$separator = PMA_get_arg_separator();
$expected = 'server=x' . $separator
. 'lang=x' . $separator
. 'lang=en' . $separator
. 'collation_connection=x' . $separator
. 'token=token'
;
Expand All @@ -126,7 +126,7 @@ public function testDefault()

$separator = PMA_get_arg_separator();
$expected = 'server=x' . htmlentities($separator)
. 'lang=x' . htmlentities($separator)
. 'lang=en' . htmlentities($separator)
. 'collation_connection=x' . htmlentities($separator)
. 'token=token'
;
Expand Down

0 comments on commit a1b6d4b

Please sign in to comment.