Sfoglia il codice sorgente

Tests: Removed test which could fail when running tests to check if everything works without the debug code.

Piotrek Koszuliński 10 anni fa
parent
commit
8fc1d97860
1 ha cambiato i file con 0 aggiunte e 10 eliminazioni
  1. 0 10
      tests/ckeditor/ckeditor.js

+ 0 - 10
tests/ckeditor/ckeditor.js

@@ -47,14 +47,4 @@ describe( 'isDebug', function() {
 
 		expect( CKEDITOR.isDebug ).to.be.a( 'boolean' );
 	} );
-
-	// Generally speaking these two properties are unrelated, but by default if we're in the dev mode,
-	// we're also debugging. The opposite isn't necessarily true - we may be debugging a build version.
-	it( 'is true if isDev is true', function() {
-		var CKEDITOR = modules.ckeditor;
-
-		if ( CKEDITOR.isDev ) {
-			expect( CKEDITOR.isDebug ).to.be.true;
-		}
-	} );
 } );