From 57646fb7ba6bbce1863fcf8cde6c20782fb7b69c Mon Sep 17 00:00:00 2001
From: Sergey Biryukov <sergeybiryukov@git.wordpress.org>
Date: Thu, 17 Mar 2016 00:46:26 +0000
Subject: [PATCH] TinyMCE: Adjust textpattern tests for the changes in [37023].

See #33300.

git-svn-id: https://develop.svn.wordpress.org/trunk@37024 602fd350-edb4-49c9-b593-d223f7449a82
---
 .../tinymce/plugins/wptextpattern/plugin.js   | 34 +------------------
 1 file changed, 1 insertion(+), 33 deletions(-)

diff --git a/tests/qunit/wp-includes/js/tinymce/plugins/wptextpattern/plugin.js b/tests/qunit/wp-includes/js/tinymce/plugins/wptextpattern/plugin.js
index aa929ff96e..b04d6b486b 100644
--- a/tests/qunit/wp-includes/js/tinymce/plugins/wptextpattern/plugin.js
+++ b/tests/qunit/wp-includes/js/tinymce/plugins/wptextpattern/plugin.js
@@ -279,40 +279,8 @@
 		}, assert.async() );
 	} );
 
-	QUnit.test( 'Inline: single.', function( assert ) {
-		type( '*test*', function() {
-			assert.equal( editor.getContent(), '<p><em>test</em></p>' );
-			assert.equal( editor.selection.getRng().startOffset, 1 );
-		}, assert.async() );
-	} );
-
-	QUnit.test( 'Inline: double.', function( assert ) {
-		type( '**test**', function() {
-			assert.equal( editor.getContent(), '<p><strong>test</strong></p>' );
-			assert.equal( editor.selection.getRng().startOffset, 1 );
-		}, assert.async() );
-	} );
-
-	QUnit.test( 'Inline: after typing.', function( assert ) {
-		editor.setContent( '<p>test test test</p>' );
-		editor.selection.setCursorLocation( editor.$( 'p' )[0].firstChild, 5 );
-
-		type( '**', function() {
-			editor.selection.setCursorLocation( editor.$( 'p' )[0].firstChild, 11 );
-		}, '**', function() {
-			assert.equal( editor.getContent(), '<p>test <strong>test</strong> test</p>' );
-			assert.equal( editor.selection.getRng().startOffset, 1 );
-		}, assert.async() );
-	} );
-
-	QUnit.test( 'Inline: no change.', function( assert ) {
-		type( 'test ******', function() {
-			assert.equal( editor.getContent(), '<p>test ******</p>' );
-		}, assert.async() );
-	} );
-
 	QUnit.test( 'Horizontal Rule', function( assert ) {
-		type( '   ---   \n', function() {
+		type( '---\n', function() {
 			assert.equal( editor.getContent(), '<hr />\n<p>&nbsp;</p>' );
 		}, assert.async() );
 	} );