- Timestamp:
- 08/17/2018 01:50:26 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/widgets/media-video-widget.php
r42343 r43571 76 76 'no_media_selected', 77 77 'add_media', 78 ), array_keys( $widget->l10n ) 78 ), 79 array_keys( $widget->l10n ) 79 80 ); 80 81 } … … 100 101 array( 101 102 'attachment_id' => 'media', 102 ), $instance 103 ), 104 $instance 103 105 ); 104 106 $this->assertSame( $result, $instance ); … … 115 117 array( 116 118 'url' => 'not_a_url', 117 ), $instance 119 ), 120 $instance 118 121 ); 119 122 $this->assertNotSame( $result, $instance ); … … 131 134 array( 132 135 'loop' => 'not-boolean', 133 ), $instance 136 ), 137 $instance 134 138 ); 135 139 $this->assertSame( $result, $instance ); … … 146 150 array( 147 151 'title' => '<h1>Cute Baby Goats</h1>', 148 ), $instance 152 ), 153 $instance 149 154 ); 150 155 $this->assertNotSame( $result, $instance ); … … 161 166 array( 162 167 'preload' => 'nope', 163 ), $instance 168 ), 169 $instance 164 170 ); 165 171 $this->assertSame( $result, $instance ); … … 169 175 array( 170 176 'h4x' => 'value', 171 ), $instance 177 ), 178 $instance 172 179 ); 173 180 $this->assertSame( $result, $instance );
Note: See TracChangeset
for help on using the changeset viewer.