Fix the CreateAdminAccountTest command to force the last_used_at value for MySQL

This commit is contained in:
Timothée Jaussoin 2022-02-15 10:19:47 +01:00
parent 20f8fb4c45
commit dfd1afcb81
2 changed files with 2 additions and 1 deletions

View file

@ -75,6 +75,7 @@ class CreateAdminAccountTest extends Command
$apiKey = new ApiKey;
$apiKey->account_id = $account->id;
$apiKey->last_used_at = Carbon::now();
$apiKey->key = $secret;
$apiKey->save();

View file

@ -8,7 +8,7 @@
#%define _datadir %{_datarootdir}
#%define _docdir %{_datadir}/doc
%define build_number 130
%define build_number 131
%define var_dir /var/opt/belledonne-communications
%define opt_dir /opt/belledonne-communications/share/flexisip-account-manager