spec/fixtures/integration/signonotron2.sql in gds-sso-9.2.7 vs spec/fixtures/integration/signonotron2.sql in gds-sso-9.3.0
- old
+ new
@@ -6,12 +6,18 @@
DELETE FROM `users`;
-- Setup fixture data
INSERT INTO `oauth_applications` (id, name, uid, secret, redirect_uri, created_at, updated_at, home_uri, description)
VALUES (1,'GDS_SSO integration test','gds-sso-test','secret','http://www.example-client.com/auth/gds/callback','2012-04-19 13:26:54','2012-04-19 13:26:54', 'http://home.com', 'GDS_SSO integration test');
+INSERT INTO `oauth_applications` (id, name, uid, secret, redirect_uri, created_at, updated_at, home_uri, description)
+ VALUES (2,'A different appilcation','application-2','different secret','http://www.example-client2.com/auth/gds/callback','2014-07-14-09:07:32','2014-07-14-09:07:32', 'http://www.example-client2.com', '');
+
INSERT INTO `users` (id, email, encrypted_password, password_salt, created_at, updated_at, confirmed_at, name, uid, role)
VALUES (1,'test@example-client.com','bb8e19edbaa1e7721abe0faa5c1663a7685950093b8c7eceb0f2e3889bdea4c5f17ca97820b2c663edf46ea532d1a9baa04b680fc537b4de8a3f376dd28e3ffd','MpLsZ8q1UaAojTa6bTC6','2012-04-19 13:26:54','2012-04-19 13:26:54','2012-04-19 13:26:54','Test User','integration-uid', "normal");
-INSERT INTO `permissions` (id, user_id, application_id, permissions) VALUES (1,1,1,"---
+
+INSERT INTO `permissions` (user_id, application_id, permissions) VALUES (1,1,"---
- signin
");
-
+INSERT INTO `permissions` (user_id, application_id, permissions) VALUES (1,2,"---
+- signin
+");