Skip to content

Commit f764849

Browse files
committed
Merge remote-tracking branch 'origin/develop'
2 parents 59a57c7 + d5f955b commit f764849

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

app/Http/Transformers/LicenseSeatsTransformer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public function transformLicenseSeats(Collection $seats, $total)
1616
$seat_count = 0;
1717
foreach ($seats as $seat) {
1818
$seat_count++;
19-
$array[] = self::transformLicenseSeat($seat, $seat_count);
19+
$array[] = self::transformLicenseSeat($seat, ($total - $seat_count));
2020
}
2121

2222
return (new DatatablesTransformer)->transformDatatables($array, $total);

tests/Feature/Authentication/LoginTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ public function testLogsFailedLoginAttempt()
3232
public function testLoginThrottleConfigIsRespected()
3333
{
3434

35+
$this->markTestIncomplete("This test is flaky and needs to be fixed. Passes and fails seemingly at random.");
3536
User::factory()->create(['username' => 'username_here']);
3637

3738
config(['auth.passwords.users.throttle.max_attempts' => 1]);

0 commit comments

Comments
 (0)