@@ -88,7 +88,7 @@ public function testUsersWithoutPermission() {
$this->assertRaw('<p>Do you also love Drupal?</p><figure class="caption caption-img"><img src="druplicon.png" /><figcaption>Druplicon</figcaption></figure>');
// Retrieving the untransformed text should result in an empty 403 response.
// @todo Uncomment the below once https://drupal.org/node/2063303 is fixed.
// $this->assertIdentical('[]', $response);
...
...
@@ -106,7 +106,7 @@ public function testUserWithPermission() {
// Ensure the text is transformed.
$this->assertRaw('<p>Do you also love Drupal?</p><figure class="caption caption-img"><img src="druplicon.png" /><figcaption>Druplicon</figcaption></figure>');
// @todo Uncomment the below once https://drupal.org/node/2063303 is fixed.
// $this->assertIdentical('[]', $response);
$this->assertResponse(200);
...
...
@@ -299,16 +299,16 @@ public function testTitleBaseField() {
// Ensure that the full page title is actually in-place editable
$node=entity_load('node',1);
$elements=$this->xpath('//h1/span[@data-quickedit-field-id="node/1/title/und/full" and normalize-space(text())=:title]',array(':title'=>$node->label()));
$elements=$this->xpath('//h1/span[@data-quickedit-field-id="node/1/title/en/full" and normalize-space(text())=:title]',array(':title'=>$node->label()));
$this->assertTrue(!empty($elements),'Title with data-quickedit-field-id attribute found.');
// Retrieving the metadata should result in a 200 JSON response.