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. */
|
||||
|
||||
@@ -231,7 +231,7 @@ class PatternsTest extends WP_UnitTestCase {
|
||||
'order' => array( 'About', 'I work as Lead Developer @Expressive Tea', 'I am a published researcher.', 'I am an autistic Level 1 software developer and researcher.', 'Beyond the work', 'I am the father of three wonderful children' ),
|
||||
'art' => 'alter-ego-life.png',
|
||||
'art_alt' => '',
|
||||
'facets' => array( 'alter-ego-literature.png', 'alter-ego-gaming.png' ),
|
||||
'facets' => array( 'alter-ego-literature.png', 'alter-ego-gaming-half-body.png' ),
|
||||
),
|
||||
);
|
||||
|
||||
|
||||
Reference in new issue
Block a user