diff --git a/tests/media.macro.test b/tests/media.macro.test
index e65dca2..62ad0a6 100644
--- a/tests/media.macro.test
+++ b/tests/media.macro.test
@@ -48,7 +48,8 @@ class MediaWysiwygOverridesTest extends MediaTestHelper {
     $nid = $this->createNode($file->fid);
 
     $this->drupalGet('node/' . $nid);
-    $this->assertRaw('height="100" width="100"', t('Image displays with default attributes.'));
+    $this->assertRaw('width="100"', t('Image displays with default width attribute.'));
+    $this->assertRaw('height="100"', t('Image displays with default height attribute.'));
 
     // Create a node with a style attribute.
     $attributes = array(
