Skip to content

Commit 19f539b

Browse files
committed
Fixed trailing whitespace
1 parent 16c07f5 commit 19f539b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

reports/run_tests.php

+5-5
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ function outputTestReportsForVersion(string $getVersion) {
113113

114114
// Do we add expected failed ?
115115
if (($_GET['expect'] ?? 0) == 1) {
116-
$query = 'SELECT \'xfail\' as xfail, test_name,COUNT(expectedfail.id) as cpt,\'-\' as variations,
117-
datetime(date) as date FROM expectedfail,reports WHERE expectedfail.id_report = reports.id
116+
$query = 'SELECT \'xfail\' as xfail, test_name,COUNT(expectedfail.id) as cpt,\'-\' as variations,
117+
datetime(date) as date FROM expectedfail,reports WHERE expectedfail.id_report = reports.id
118118
GROUP BY test_name ORDER BY cpt DESC LIMIT :limit';
119119
$stmt = $database->prepare($query);
120120
$stmt->bindValue(':limit', $limit, SQLITE3_INTEGER);
@@ -126,12 +126,12 @@ function outputTestReportsForVersion(string $getVersion) {
126126
}
127127
}
128128

129-
$query = 'SELECT failed.test_name,COUNT(failed.id) as cpt,COUNT(DISTINCT failed.diff) as variations,
130-
datetime(reports.date) as date,success.id as success, r2.id as failedci FROM failed, reports
129+
$query = 'SELECT failed.test_name,COUNT(failed.id) as cpt,COUNT(DISTINCT failed.diff) as variations,
130+
datetime(reports.date) as date,success.id as success, r2.id as failedci FROM failed, reports
131131
LEFT JOIN success ON success.test_name=failed.test_name
132132
LEFT JOIN failed f2 ON (f2.test_name=failed.test_name AND f2.output = "")
133133
LEFT JOIN reports r2 ON (f2.id_report = r2.id AND r2.user_email="ciqa")
134-
WHERE failed.id_report = reports.id
134+
WHERE failed.id_report = reports.id
135135
GROUP BY failed.test_name ORDER BY cpt DESC LIMIT :limit';
136136
$stmt = $database->prepare($query);
137137
$stmt->bindValue(':limit', $limit, SQLITE3_INTEGER);

0 commit comments

Comments
 (0)