- Timestamp:
- 07/28/2020 04:08:56 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rest-api/rest-block-directory-controller.php
r48333 r48656 163 163 'author' => 'sorta brilliant', 164 164 'icon' => 'https://ps.w.org/guidepost/assets/icon-128x128.jpg?rev=2235512', 165 'assets' => array(166 'https://ps.w.org/guidepost/tags/1.2.1/build/index.js?v=1584940380',167 'https://ps.w.org/guidepost/tags/1.2.1/build/guidepost-editor.css?v=1584940380',168 'https://ps.w.org/guidepost/tags/1.2.1/build/guidepost-style.css?v=1584940380',169 'https://ps.w.org/guidepost/tags/1.2.1/build/guidepost-theme.js?v=1584940380',170 ),171 165 'last_updated' => gmdate( 'Y-m-d\TH:i:s', strtotime( $plugin['last_updated'] ) ), 172 166 'humanized_updated' => sprintf( '%s ago', human_time_diff( strtotime( $plugin['last_updated'] ) ) ), … … 193 187 $properties = $data['schema']['properties']; 194 188 195 $this->assertCount( 1 4, $properties );189 $this->assertCount( 13, $properties ); 196 190 $this->assertArrayHasKey( 'name', $properties ); 197 191 $this->assertArrayHasKey( 'title', $properties ); … … 207 201 $this->assertArrayHasKey( 'last_updated', $properties ); 208 202 $this->assertArrayHasKey( 'humanized_updated', $properties ); 209 $this->assertArrayHasKey( 'assets', $properties );210 203 } 211 204
Note: See TracChangeset
for help on using the changeset viewer.