# frozen_string_literal: true

#  Copyright (c) 2020-2021, Aargauer OL-Verband. This file is part of
#  hitobito and licensed under the Affero General Public License version 3
#  or later. See the COPYING file at the top-level directory or at
#  https://github.com/hitobito/hitobito.

Fabricator(:access_token, class_name: :"Oauth::AccessToken") do
  expires_in { 2.hours }
end

Fabricator(:application, class_name: :"Oauth::Application") do
  name { Faker::Name.name }
  redirect_uri { "https://app.com/callback" }
end
