|
|
@@ -196,14 +196,14 @@ describe( 'Editor', () => {
|
|
|
it( 'is configured with the config.language', () => {
|
|
|
const editor = new TestEditor( { language: 'pl' } );
|
|
|
|
|
|
- expect( editor.locale.language ).to.equal( 'pl' );
|
|
|
+ expect( editor.locale.uiLanguage ).to.equal( 'pl' );
|
|
|
expect( editor.locale.contentLanguage ).to.equal( 'pl' );
|
|
|
} );
|
|
|
|
|
|
it( 'is configured with the config.contentLanguage', () => {
|
|
|
const editor = new TestEditor( { language: 'pl', contentLanguage: 'ar' } );
|
|
|
|
|
|
- expect( editor.locale.language ).to.equal( 'pl' );
|
|
|
+ expect( editor.locale.uiLanguage ).to.equal( 'pl' );
|
|
|
expect( editor.locale.contentLanguage ).to.equal( 'ar' );
|
|
|
} );
|
|
|
} );
|