fix: promote approved Gaming character art
This commit is contained in:
13 files changed
+153
-13
No files matched your search
@@ -367,7 +367,7 @@ class BlockRenderingTest extends WP_UnitTestCase {
|
||||
'music' => 'the-no-names-musician-cutout.png',
|
||||
'podcasts' => 'alter-ego-podcasts.png',
|
||||
'life' => 'alter-ego-life.png',
|
||||
'gaming' => 'alter-ego-gaming.png',
|
||||
'gaming' => 'alter-ego-gaming-half-body.png',
|
||||
);
|
||||
foreach ( $expected as $slug => $filename ) {
|
||||
$this->assertSame( 'assets/images/' . $filename, chrnx_get_topic_art_asset( $slug ) );
|
||||
@@ -654,6 +654,7 @@ class BlockRenderingTest extends WP_UnitTestCase {
|
||||
);
|
||||
$this->assertStringContainsString( 'width="1024"', $gaming );
|
||||
$this->assertStringContainsString( 'height="1536"', $gaming );
|
||||
$this->assertStringContainsString( 'alter-ego-gaming-half-body', $gaming );
|
||||
}
|
||||
|
||||
/** Topic heroes share the three-layer stage and unknown topics retain a safe labeled fallback. */
|
||||
|
||||
Reference in new issue
Block a user