mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Add an API key for admin user
This commit is contained in:
@@ -37,6 +37,7 @@ module Spree
|
||||
user.stub(:enterprises) { [] }
|
||||
user.stub(:owned_groups) { [] }
|
||||
|
||||
user.stub(:spree_api_key) { "admin_spree_api_key" }
|
||||
user
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user