Skip to content

Commit

Permalink
fix(TestRun): use correct trigger names
Browse files Browse the repository at this point in the history
  • Loading branch information
domtra committed Jun 13, 2024
1 parent 8a98554 commit 0f6ef05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/models/class-test-run.php
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ public static function get_trigger_title( $test_run ) {
'manual' => __( 'Manual', 'visual-regression-tests' ),
'scheduled' => __( 'Scheduled', 'visual-regression-tests' ),
'api' => __( 'API', 'visual-regression-tests' ),
'updates' => __( 'WordPress Updates', 'visual-regression-tests' ),
'update' => __( 'WordPress Updates', 'visual-regression-tests' ),
];

return $trigger_titles[ $test_run->trigger ] ?? __( 'Unknown', 'visual-regression-tests' );
Expand Down

0 comments on commit 0f6ef05

Please sign in to comment.