discourse/db/api_test_seeds.rb

3 lines
268 B
Ruby
Raw Permalink Normal View History

User.create(name: "Test User", email: "test_user@example.com", password: "password", username: "test_user", approved: true, active: true, auth_token: "39a925803ddc658a68a7e276e558ed62", admin: true)
ApiKey.create(key: 'test_d7fd0429940', user_id: 1, created_by_id: 1)