File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ public function getLanguage()
132
132
*/
133
133
public function getLocale ()
134
134
{
135
- $ this ->options ['language ' ];
135
+ return $ this ->options ['language ' ];
136
136
}
137
137
138
138
/**
Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ public function testConstructor()
33
33
$ this ->assertEquals ($ expectedOptions , $ branding ->getOptions ());
34
34
$ this ->assertEquals ('en-GB ' , $ branding ->getOrbitLanguage ());
35
35
$ this ->assertEquals ('en-GB ' , $ branding ->getLanguage ());
36
+ $ this ->assertEquals ('en_GB ' , $ branding ->getLocale ());
36
37
$ this ->assertEquals ('default ' , $ branding ->getOrbitVariant ());
37
38
$ this ->assertEquals (null , $ branding ->getOrbitSearchScope ());
38
39
$ this ->assertEquals (
You can’t perform that action at this time.
0 commit comments