Skip to content

Commit 2f212f7

Browse files
committed
Changed fallback value for remaining runs
1 parent 0edcb17 commit 2f212f7

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

www/lighthouse_test.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
$current_user = $request_context->getUser();
1111
$is_paid = !is_null($current_user) ? $current_user->isPaid() : false;
1212
$is_logged_in = Util::getSetting('cp_auth') && (!is_null($request_context->getClient()) && $request_context->getClient()->isAuthenticated());
13-
$remaining_runs = (isset($request_context) && !is_null($request_context->getUser())) ? $request_context->getUser()->getRemainingRuns() : 150;
13+
$remaining_runs = (isset($request_context) && !is_null($request_context->getUser())) ? $request_context->getUser()->getRemainingRuns() : 0;
1414
$hasNoRunsLeft = $is_logged_in ? (int)$remaining_runs <= 0 : false;
1515

1616
$headless = false;

www/templates/account/plans/upgrade-plan.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115
<tbody>
116116
<tr>
117117
<th scope="col">Monthly Test Runs</th>
118-
<td>150</td>
118+
<td>300</td>
119119
<td>As per plan</td>
120120
<td>As per contract</td>
121121
</tr>
@@ -271,7 +271,7 @@
271271

272272
<tr>
273273
<th scope="col">Test History</th>
274-
<td>60 days</td>
274+
<td>13 Months</td>
275275
<td>13 Months</td>
276276
<td>Up to 7 years</td>
277277
</tr>

www/templates/account/signup/step-1.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
</tr>
100100
<tr>
101101
<th scope="col">Monthly Test Runs</th>
102-
<td>150</td>
102+
<td>300</td>
103103
<td>As per plan</td>
104104
<td>As per contract</td>
105105
</tr>
@@ -255,7 +255,7 @@
255255

256256
<tr>
257257
<th scope="col">Test History</th>
258-
<td>60 days</td>
258+
<td>13 Months</td>
259259
<td>13 Months</td>
260260
<td>Up to 7 years</td>
261261
</tr>

www/webvitals.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
$current_user = $request_context->getUser();
1212
$is_paid = !is_null($current_user) ? $current_user->isPaid() : false;
1313
$is_logged_in = Util::getSetting('cp_auth') && (!is_null($request_context->getClient()) && $request_context->getClient()->isAuthenticated());
14-
$remaining_runs = (isset($request_context) && !is_null($request_context->getUser())) ? $request_context->getUser()->getRemainingRuns() : 150;
14+
$remaining_runs = (isset($request_context) && !is_null($request_context->getUser())) ? $request_context->getUser()->getRemainingRuns() : 0;
1515
$hasNoRunsLeft = $is_logged_in ? (int)$remaining_runs <= 0 : false;
1616

1717

0 commit comments

Comments
 (0)