Skip to content

Commit

Permalink
fix(Runs): correctly create initial runs from alerts
Browse files Browse the repository at this point in the history
  • Loading branch information
domtra committed Oct 29, 2024
1 parent b30dc3d commit 5d06062
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion includes/tables/class-test-runs-table.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ public static function create_runs_from_alerts() {
$sql = "SELECT
a.id as id,
a.target_screenshot_finish_date as finished_at,
t.id as test_id
t.id as test_id,
a.post_id as post_id
FROM {$alerts_table} a
JOIN {$tests_table} t
ON t.post_id = a.post_id
Expand Down

0 comments on commit 5d06062

Please sign in to comment.