Added tests to cover shortcut endpoints

This commit is contained in:
Dan Brown
2022-11-09 18:42:54 +00:00
parent 9067902267
commit 24a7e8500d
2 changed files with 40 additions and 1 deletions

View File

@ -41,7 +41,7 @@ class UserPreferencesController extends Controller
setting()->putUser(user(), 'ui-shortcuts', $shortcuts->toJson());
setting()->putUser(user(), 'ui-shortcuts-enabled', $enabled);
$this->showSuccessNotification('Shortcuts preferences have been updated!');
$this->showSuccessNotification('Shortcut preferences have been updated!');
return redirect('/preferences/shortcuts');
}