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