bloom_remit 0.12.0 → 0.12.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/services/bloom_remit/txns/post.rb +1 -0
- data/lib/bloom_remit/version.rb +1 -1
- data/spec/dummy/log/test.log +319 -0
- data/spec/services/bloom_remit/txns/post_spec.rb +3 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d172da9d1f522ec820c15851f28e0c6009ea8cab
|
4
|
+
data.tar.gz: e2fab57e8438c27185cbae34b54f7cb968635dcf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f6273cdaabbe79286cffbce3d97f1180bb5362cd144a18a9358e003bb2c2287d5f6239e6864ce9577e16fcb7af96c2ba8f1fe88ff78295b69c5fb0bc1d4f091a
|
7
|
+
data.tar.gz: 690aa92172c6ce0126c53110a77cc50166a52402bf843692a7d2624eb258221be8d221af6b7963436656b8b3195e468e0a9dbf2bb85b0ba4f198dbec100c599e
|
data/lib/bloom_remit/version.rb
CHANGED
data/spec/dummy/log/test.log
CHANGED
@@ -35322,3 +35322,322 @@ Completed 204 No Content in 76ms (ActiveRecord: 2.6ms)
|
|
35322
35322
|
[1m[35m (0.6ms)[0m COMMIT
|
35323
35323
|
[1m[36m (0.6ms)[0m [1mBEGIN[0m
|
35324
35324
|
[1m[35m (0.5ms)[0m ROLLBACK
|
35325
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
35326
|
+
[1m[36m (136.5ms)[0m [1mDROP DATABASE IF EXISTS "app_test"[0m
|
35327
|
+
[1m[35m (519.7ms)[0m CREATE DATABASE "app_test" ENCODING = 'unicode'
|
35328
|
+
[1m[36mSQL (0.5ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
35329
|
+
[1m[35m (81.4ms)[0m CREATE TABLE "billers" ("id" serial primary key, "slug" character varying)
|
35330
|
+
[1m[36m (78.5ms)[0m [1mCREATE TABLE "bloom_remit_responses" ("id" serial primary key, "txn_id" integer NOT NULL, "body" text NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [0m
|
35331
|
+
[1m[35m (62.5ms)[0m CREATE INDEX "index_bloom_remit_responses_on_txn_id" ON "bloom_remit_responses" USING btree ("txn_id")
|
35332
|
+
[1m[36m (86.5ms)[0m [1mCREATE TABLE "bloom_remit_txns" ("id" serial primary key, "status" integer DEFAULT 0 NOT NULL, "sender_id" character varying NOT NULL, "sender_type" character varying NOT NULL, "amount" decimal NOT NULL, "account_name" character varying, "account_id" character varying, "secret" uuid NOT NULL, "target_slug" character varying NOT NULL, "owner_id" character varying, "owner_type" character varying, "external_id" character varying, "status_description" text, "vendor_external_id" character varying, "recipient_id" character varying) [0m
|
35333
|
+
[1m[35m (78.4ms)[0m CREATE INDEX "index_bloom_remit_txns_on_external_id" ON "bloom_remit_txns" USING btree ("external_id")
|
35334
|
+
[1m[36m (63.0ms)[0m [1mCREATE INDEX "index_bloom_remit_txns_on_owner_id_and_owner_type" ON "bloom_remit_txns" USING btree ("owner_id", "owner_type")[0m
|
35335
|
+
[1m[35m (51.2ms)[0m CREATE INDEX "index_bloom_remit_txns_on_vendor_external_id" ON "bloom_remit_txns" USING btree ("vendor_external_id")
|
35336
|
+
[1m[36m (86.1ms)[0m [1mCREATE TABLE "payments" ("id" serial primary key, "type" character varying) [0m
|
35337
|
+
[1m[35m (81.3ms)[0m CREATE TABLE "users" ("id" serial primary key, "email" character varying, "bloom_remit_id" character varying, "type" character varying)
|
35338
|
+
[1m[36m (49.7ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
35339
|
+
[1m[35m (43.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
35340
|
+
[1m[36m (0.9ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
35341
|
+
[1m[35m (16.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20161005011429')
|
35342
|
+
[1m[36m (14.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20160729085500')[0m
|
35343
|
+
[1m[35m (13.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160805001840')
|
35344
|
+
[1m[36m (17.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20160805042105')[0m
|
35345
|
+
[1m[35m (16.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160806011259')
|
35346
|
+
[1m[36m (16.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20160806012210')[0m
|
35347
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.4ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
35348
|
+
[1m[36mSQL (0.4ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
35349
|
+
[1m[35m (16.6ms)[0m DROP TABLE "billers" CASCADE
|
35350
|
+
[1m[36m (59.6ms)[0m [1mCREATE TABLE "billers" ("id" serial primary key, "slug" character varying) [0m
|
35351
|
+
[1m[35m (13.2ms)[0m DROP TABLE "bloom_remit_responses" CASCADE
|
35352
|
+
[1m[36m (58.1ms)[0m [1mCREATE TABLE "bloom_remit_responses" ("id" serial primary key, "txn_id" integer NOT NULL, "body" text NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [0m
|
35353
|
+
[1m[35m (33.6ms)[0m CREATE INDEX "index_bloom_remit_responses_on_txn_id" ON "bloom_remit_responses" USING btree ("txn_id")
|
35354
|
+
[1m[36m (17.4ms)[0m [1mDROP TABLE "bloom_remit_txns" CASCADE[0m
|
35355
|
+
[1m[35m (73.5ms)[0m CREATE TABLE "bloom_remit_txns" ("id" serial primary key, "status" integer DEFAULT 0 NOT NULL, "sender_id" character varying NOT NULL, "sender_type" character varying NOT NULL, "amount" decimal NOT NULL, "account_name" character varying, "account_id" character varying, "secret" uuid NOT NULL, "target_slug" character varying NOT NULL, "owner_id" character varying, "owner_type" character varying, "external_id" character varying, "status_description" text, "vendor_external_id" character varying, "recipient_id" character varying)
|
35356
|
+
[1m[36m (44.5ms)[0m [1mCREATE INDEX "index_bloom_remit_txns_on_external_id" ON "bloom_remit_txns" USING btree ("external_id")[0m
|
35357
|
+
[1m[35m (46.9ms)[0m CREATE INDEX "index_bloom_remit_txns_on_owner_id_and_owner_type" ON "bloom_remit_txns" USING btree ("owner_id", "owner_type")
|
35358
|
+
[1m[36m (42.5ms)[0m [1mCREATE INDEX "index_bloom_remit_txns_on_vendor_external_id" ON "bloom_remit_txns" USING btree ("vendor_external_id")[0m
|
35359
|
+
[1m[35m (14.5ms)[0m DROP TABLE "payments" CASCADE
|
35360
|
+
[1m[36m (79.2ms)[0m [1mCREATE TABLE "payments" ("id" serial primary key, "type" character varying) [0m
|
35361
|
+
[1m[35m (12.6ms)[0m DROP TABLE "users" CASCADE
|
35362
|
+
[1m[36m (67.1ms)[0m [1mCREATE TABLE "users" ("id" serial primary key, "email" character varying, "bloom_remit_id" character varying, "type" character varying) [0m
|
35363
|
+
[1m[35m (0.8ms)[0m SELECT version FROM "schema_migrations"
|
35364
|
+
[1m[36m (12.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20160729070509')[0m
|
35365
|
+
[1m[35m (11.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160805004223')
|
35366
|
+
[1m[36m (14.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20160805004350')[0m
|
35367
|
+
[1m[35m (13.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160805040950')
|
35368
|
+
[1m[36m (13.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20160805095308')[0m
|
35369
|
+
[1m[35m (17.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160806054012')
|
35370
|
+
[1m[36m (16.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20160808081300')[0m
|
35371
|
+
[1m[35m (13.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160809043433')
|
35372
|
+
[1m[36m (13.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20160817003323')[0m
|
35373
|
+
[1m[35m (13.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160930034811')
|
35374
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
35375
|
+
[1m[35m (0.9ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "billers" DISABLE TRIGGER ALL;ALTER TABLE "bloom_remit_responses" DISABLE TRIGGER ALL;ALTER TABLE "bloom_remit_txns" DISABLE TRIGGER ALL;ALTER TABLE "payments" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
35376
|
+
[1m[36m (1.5ms)[0m [1m SELECT schemaname || '.' || tablename
|
35377
|
+
FROM pg_tables
|
35378
|
+
WHERE
|
35379
|
+
tablename !~ '_prt_' AND
|
35380
|
+
tablename <> 'schema_migrations' AND
|
35381
|
+
schemaname = ANY (current_schemas(false))
|
35382
|
+
[0m
|
35383
|
+
[1m[35m (1.5ms)[0m select table_name from information_schema.views where table_schema = 'app_test'
|
35384
|
+
[1m[36m (436.4ms)[0m [1mTRUNCATE TABLE "public"."billers", "public"."bloom_remit_responses", "public"."bloom_remit_txns", "public"."payments", "public"."users" RESTART IDENTITY CASCADE;[0m
|
35385
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "billers" ENABLE TRIGGER ALL;ALTER TABLE "bloom_remit_responses" ENABLE TRIGGER ALL;ALTER TABLE "bloom_remit_txns" ENABLE TRIGGER ALL;ALTER TABLE "payments" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
35386
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
35387
|
+
[1m[35m (0.3ms)[0m COMMIT
|
35388
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
35389
|
+
[1m[35m (0.5ms)[0m ROLLBACK
|
35390
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
35391
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "billers" DISABLE TRIGGER ALL;ALTER TABLE "bloom_remit_responses" DISABLE TRIGGER ALL;ALTER TABLE "bloom_remit_txns" DISABLE TRIGGER ALL;ALTER TABLE "payments" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
35392
|
+
[1m[36m (1.4ms)[0m [1m SELECT schemaname || '.' || tablename
|
35393
|
+
FROM pg_tables
|
35394
|
+
WHERE
|
35395
|
+
tablename !~ '_prt_' AND
|
35396
|
+
tablename <> 'schema_migrations' AND
|
35397
|
+
schemaname = ANY (current_schemas(false))
|
35398
|
+
[0m
|
35399
|
+
[1m[35m (1.1ms)[0m select table_name from information_schema.views where table_schema = 'app_test'
|
35400
|
+
[1m[36m (462.9ms)[0m [1mTRUNCATE TABLE "public"."billers", "public"."bloom_remit_responses", "public"."bloom_remit_txns", "public"."payments", "public"."users" RESTART IDENTITY CASCADE;[0m
|
35401
|
+
[1m[35m (0.5ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "billers" ENABLE TRIGGER ALL;ALTER TABLE "bloom_remit_responses" ENABLE TRIGGER ALL;ALTER TABLE "bloom_remit_txns" ENABLE TRIGGER ALL;ALTER TABLE "payments" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
35402
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
35403
|
+
[1m[35m (0.2ms)[0m COMMIT
|
35404
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
35405
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
35406
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
35407
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "billers" DISABLE TRIGGER ALL;ALTER TABLE "bloom_remit_responses" DISABLE TRIGGER ALL;ALTER TABLE "bloom_remit_txns" DISABLE TRIGGER ALL;ALTER TABLE "payments" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
35408
|
+
[1m[36m (1.1ms)[0m [1m SELECT schemaname || '.' || tablename
|
35409
|
+
FROM pg_tables
|
35410
|
+
WHERE
|
35411
|
+
tablename !~ '_prt_' AND
|
35412
|
+
tablename <> 'schema_migrations' AND
|
35413
|
+
schemaname = ANY (current_schemas(false))
|
35414
|
+
[0m
|
35415
|
+
[1m[35m (1.0ms)[0m select table_name from information_schema.views where table_schema = 'app_test'
|
35416
|
+
[1m[36m (412.1ms)[0m [1mTRUNCATE TABLE "public"."billers", "public"."bloom_remit_responses", "public"."bloom_remit_txns", "public"."payments", "public"."users" RESTART IDENTITY CASCADE;[0m
|
35417
|
+
[1m[35m (0.6ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "billers" ENABLE TRIGGER ALL;ALTER TABLE "bloom_remit_responses" ENABLE TRIGGER ALL;ALTER TABLE "bloom_remit_txns" ENABLE TRIGGER ALL;ALTER TABLE "payments" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
35418
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
35419
|
+
[1m[35m (0.4ms)[0m COMMIT
|
35420
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
35421
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
35422
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
35423
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "billers" DISABLE TRIGGER ALL;ALTER TABLE "bloom_remit_responses" DISABLE TRIGGER ALL;ALTER TABLE "bloom_remit_txns" DISABLE TRIGGER ALL;ALTER TABLE "payments" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
35424
|
+
[1m[36m (1.5ms)[0m [1m SELECT schemaname || '.' || tablename
|
35425
|
+
FROM pg_tables
|
35426
|
+
WHERE
|
35427
|
+
tablename !~ '_prt_' AND
|
35428
|
+
tablename <> 'schema_migrations' AND
|
35429
|
+
schemaname = ANY (current_schemas(false))
|
35430
|
+
[0m
|
35431
|
+
[1m[35m (1.3ms)[0m select table_name from information_schema.views where table_schema = 'app_test'
|
35432
|
+
[1m[36m (447.2ms)[0m [1mTRUNCATE TABLE "public"."billers", "public"."bloom_remit_responses", "public"."bloom_remit_txns", "public"."payments", "public"."users" RESTART IDENTITY CASCADE;[0m
|
35433
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "billers" ENABLE TRIGGER ALL;ALTER TABLE "bloom_remit_responses" ENABLE TRIGGER ALL;ALTER TABLE "bloom_remit_txns" ENABLE TRIGGER ALL;ALTER TABLE "payments" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
35434
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
35435
|
+
[1m[35m (0.2ms)[0m COMMIT
|
35436
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
35437
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
35438
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
35439
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "billers" DISABLE TRIGGER ALL;ALTER TABLE "bloom_remit_responses" DISABLE TRIGGER ALL;ALTER TABLE "bloom_remit_txns" DISABLE TRIGGER ALL;ALTER TABLE "payments" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
35440
|
+
[1m[36m (1.2ms)[0m [1m SELECT schemaname || '.' || tablename
|
35441
|
+
FROM pg_tables
|
35442
|
+
WHERE
|
35443
|
+
tablename !~ '_prt_' AND
|
35444
|
+
tablename <> 'schema_migrations' AND
|
35445
|
+
schemaname = ANY (current_schemas(false))
|
35446
|
+
[0m
|
35447
|
+
[1m[35m (1.0ms)[0m select table_name from information_schema.views where table_schema = 'app_test'
|
35448
|
+
[1m[36m (425.2ms)[0m [1mTRUNCATE TABLE "public"."billers", "public"."bloom_remit_responses", "public"."bloom_remit_txns", "public"."payments", "public"."users" RESTART IDENTITY CASCADE;[0m
|
35449
|
+
[1m[35m (1.0ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "billers" ENABLE TRIGGER ALL;ALTER TABLE "bloom_remit_responses" ENABLE TRIGGER ALL;ALTER TABLE "bloom_remit_txns" ENABLE TRIGGER ALL;ALTER TABLE "payments" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
35450
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
35451
|
+
[1m[35m (0.2ms)[0m COMMIT
|
35452
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
35453
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
35454
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
35455
|
+
[1m[35m (0.2ms)[0m COMMIT
|
35456
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
35457
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
35458
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
35459
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "billers" ("slug") VALUES ($1) RETURNING "id" [["slug", "PLDT"]]
|
35460
|
+
[1m[36m (11.0ms)[0m [1mCOMMIT[0m
|
35461
|
+
[1m[35m (0.2ms)[0m BEGIN
|
35462
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("type") VALUES ($1) RETURNING "id"[0m [["type", "SubUser"]]
|
35463
|
+
[1m[35m (9.6ms)[0m COMMIT
|
35464
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
35465
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "payments" ("type") VALUES ($1) RETURNING "id" [["type", "SubPayment"]]
|
35466
|
+
[1m[36m (14.8ms)[0m [1mCOMMIT[0m
|
35467
|
+
[1m[35m (0.2ms)[0m BEGIN
|
35468
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "bloom_remit_txns" ("secret", "sender_type", "sender_id", "amount", "account_name", "account_id", "target_slug", "owner_id", "owner_type", "external_id", "recipient_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id"[0m [["secret", "a74fee53-1a8c-400e-8272-9b5f2c389a7a"], ["sender_type", "User"], ["sender_id", "1"], ["amount", "800.0"], ["account_name", "028109090"], ["account_id", "Hooli X"], ["target_slug", "PLDT"], ["owner_id", "1"], ["owner_type", "Payment"], ["external_id", "d1c358c2f6364d6d8be84cbb"], ["recipient_id", "recipient-id"]]
|
35469
|
+
[1m[35m (12.5ms)[0m COMMIT
|
35470
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1[0m [["id", 1]]
|
35471
|
+
[1m[35mPayment Load (0.3ms)[0m SELECT "payments".* FROM "payments" WHERE "payments"."id" = $1 LIMIT 1 [["id", 1]]
|
35472
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "billers" DISABLE TRIGGER ALL;ALTER TABLE "bloom_remit_responses" DISABLE TRIGGER ALL;ALTER TABLE "bloom_remit_txns" DISABLE TRIGGER ALL;ALTER TABLE "payments" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
35473
|
+
[1m[35m (401.2ms)[0m TRUNCATE TABLE "public"."billers", "public"."bloom_remit_responses", "public"."bloom_remit_txns", "public"."payments", "public"."users" RESTART IDENTITY CASCADE;
|
35474
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "billers" ENABLE TRIGGER ALL;ALTER TABLE "bloom_remit_responses" ENABLE TRIGGER ALL;ALTER TABLE "bloom_remit_txns" ENABLE TRIGGER ALL;ALTER TABLE "payments" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
35475
|
+
[1m[35m (0.1ms)[0m BEGIN
|
35476
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" DEFAULT VALUES RETURNING "id"[0m
|
35477
|
+
[1m[35m (9.5ms)[0m COMMIT
|
35478
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
35479
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "bloom_remit_txns" ("target_slug", "amount", "secret", "external_id", "sender_id", "sender_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["target_slug", "TARGET_SLUG"], ["amount", "2500.0"], ["secret", "35d8dbd0-e059-4c8d-aeb5-279db433e037"], ["external_id", "3ff8211f76453c013913338e"], ["sender_id", "1"], ["sender_type", "User"]]
|
35480
|
+
[1m[36m (11.0ms)[0m [1mCOMMIT[0m
|
35481
|
+
[1m[35mBloomRemit::Txn Load (0.4ms)[0m SELECT "bloom_remit_txns".* FROM "bloom_remit_txns" WHERE "bloom_remit_txns"."id" = $1 AND "bloom_remit_txns"."secret" = $2 LIMIT 1 [["id", 1], ["secret", "35d8dbd0-e059-4c8d-aeb5-279db433e037"]]
|
35482
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
35483
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "bloom_remit_txns" SET "status" = $1, "status_description" = $2 WHERE "bloom_remit_txns"."id" = $3 [["status", 1], ["status_description", "My status description"], ["id", 1]]
|
35484
|
+
[1m[36m (10.5ms)[0m [1mCOMMIT[0m
|
35485
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "billers" DISABLE TRIGGER ALL;ALTER TABLE "bloom_remit_responses" DISABLE TRIGGER ALL;ALTER TABLE "bloom_remit_txns" DISABLE TRIGGER ALL;ALTER TABLE "payments" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
35486
|
+
[1m[36m (371.2ms)[0m [1mTRUNCATE TABLE "public"."billers", "public"."bloom_remit_responses", "public"."bloom_remit_txns", "public"."payments", "public"."users" RESTART IDENTITY CASCADE;[0m
|
35487
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "billers" ENABLE TRIGGER ALL;ALTER TABLE "bloom_remit_responses" ENABLE TRIGGER ALL;ALTER TABLE "bloom_remit_txns" ENABLE TRIGGER ALL;ALTER TABLE "payments" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
35488
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
35489
|
+
[1m[35m (0.2ms)[0m COMMIT
|
35490
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
35491
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
35492
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
35493
|
+
[1m[35m (0.2ms)[0m COMMIT
|
35494
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
35495
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
35496
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
35497
|
+
[1m[35m (0.2ms)[0m COMMIT
|
35498
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
35499
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
35500
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
35501
|
+
[1m[35m (0.2ms)[0m COMMIT
|
35502
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
35503
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
35504
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
35505
|
+
[1m[35m (0.2ms)[0m COMMIT
|
35506
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
35507
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
35508
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
35509
|
+
[1m[35m (0.3ms)[0m COMMIT
|
35510
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
35511
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
35512
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
35513
|
+
[1m[35m (0.2ms)[0m COMMIT
|
35514
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
35515
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
35516
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
35517
|
+
[1m[35m (0.4ms)[0m COMMIT
|
35518
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
35519
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
35520
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" DEFAULT VALUES RETURNING "id"[0m
|
35521
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
35522
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
35523
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "bloom_remit_txns" ("target_slug", "amount", "secret", "external_id", "sender_id", "sender_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["target_slug", "TARGET_SLUG"], ["amount", "2500.0"], ["secret", "f4ccc2c9-5eff-409e-a865-0d0332f59d94"], ["external_id", "2943eb63c3ed81f7ea40dac5"], ["sender_id", "1"], ["sender_type", "User"]]
|
35524
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
35525
|
+
Started POST "/bloom_remit/api/v1/txns/1" for 127.0.0.1 at 2016-10-05 07:01:02 +0000
|
35526
|
+
Processing by BloomRemit::Api::V1::TxnsController#post_update as JSON
|
35527
|
+
Parameters: {"secret"=>"fake", "status"=>"doesn't matter", "id"=>"1", "txn"=>{"status"=>"doesn't matter", "secret"=>"fake"}}
|
35528
|
+
[1m[35mBloomRemit::Txn Load (0.4ms)[0m SELECT "bloom_remit_txns".* FROM "bloom_remit_txns" WHERE "bloom_remit_txns"."id" = $1 AND "bloom_remit_txns"."secret" = $2 LIMIT 1 [["id", 1], ["secret", nil]]
|
35529
|
+
Rendered text template (0.0ms)
|
35530
|
+
Completed 404 Not Found in 51ms (Views: 49.5ms | ActiveRecord: 0.4ms)
|
35531
|
+
Started POST "/bloom_remit/api/v1/txns/1" for 127.0.0.1 at 2016-10-05 07:01:02 +0000
|
35532
|
+
Processing by BloomRemit::Api::V1::TxnsController#post_update as JSON
|
35533
|
+
Parameters: {"secret"=>"f4ccc2c9-5eff-409e-a865-0d0332f59d94", "status"=>"paid", "id"=>"1", "txn"=>{"status"=>"paid", "secret"=>"f4ccc2c9-5eff-409e-a865-0d0332f59d94"}}
|
35534
|
+
[1m[36mBloomRemit::Txn Load (0.4ms)[0m [1mSELECT "bloom_remit_txns".* FROM "bloom_remit_txns" WHERE "bloom_remit_txns"."id" = $1 AND "bloom_remit_txns"."secret" = $2 LIMIT 1[0m [["id", 1], ["secret", "f4ccc2c9-5eff-409e-a865-0d0332f59d94"]]
|
35535
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
35536
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "bloom_remit_txns" SET "status" = $1 WHERE "bloom_remit_txns"."id" = $2[0m [["status", 1], ["id", 1]]
|
35537
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
35538
|
+
Completed 200 OK in 7ms (Views: 0.4ms | ActiveRecord: 1.0ms)
|
35539
|
+
[1m[36mBloomRemit::Txn Load (0.3ms)[0m [1mSELECT "bloom_remit_txns".* FROM "bloom_remit_txns" WHERE "bloom_remit_txns"."id" = $1 LIMIT 1[0m [["id", 1]]
|
35540
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
35541
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
35542
|
+
[1m[35m (0.2ms)[0m COMMIT
|
35543
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
35544
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
35545
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" DEFAULT VALUES RETURNING "id"[0m
|
35546
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
35547
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
35548
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "bloom_remit_txns" ("target_slug", "amount", "secret", "external_id", "sender_id", "sender_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["target_slug", "TARGET_SLUG"], ["amount", "2500.0"], ["secret", "7f466448-4c9f-467b-a836-19a829c67f83"], ["external_id", "53d42ed623937f3f553b5f47"], ["sender_id", "2"], ["sender_type", "User"]]
|
35549
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
35550
|
+
Started PATCH "/bloom_remit/api/v1/txns/2" for 127.0.0.1 at 2016-10-05 07:01:02 +0000
|
35551
|
+
Processing by BloomRemit::Api::V1::TxnsController#update as JSON
|
35552
|
+
Parameters: {"secret"=>"fake", "status"=>"doesn't matter", "id"=>"2", "txn"=>{"status"=>"doesn't matter", "secret"=>"fake"}}
|
35553
|
+
[1m[35mBloomRemit::Txn Load (0.3ms)[0m SELECT "bloom_remit_txns".* FROM "bloom_remit_txns" WHERE "bloom_remit_txns"."id" = $1 AND "bloom_remit_txns"."secret" = $2 LIMIT 1 [["id", 2], ["secret", nil]]
|
35554
|
+
Rendered text template (0.0ms)
|
35555
|
+
Completed 404 Not Found in 2ms (Views: 0.8ms | ActiveRecord: 0.3ms)
|
35556
|
+
Started PATCH "/bloom_remit/api/v1/txns/2" for 127.0.0.1 at 2016-10-05 07:01:02 +0000
|
35557
|
+
Processing by BloomRemit::Api::V1::TxnsController#update as JSON
|
35558
|
+
Parameters: {"secret"=>"7f466448-4c9f-467b-a836-19a829c67f83", "status"=>"paid", "id"=>"2", "txn"=>{"status"=>"paid", "secret"=>"7f466448-4c9f-467b-a836-19a829c67f83"}}
|
35559
|
+
[1m[36mBloomRemit::Txn Load (0.4ms)[0m [1mSELECT "bloom_remit_txns".* FROM "bloom_remit_txns" WHERE "bloom_remit_txns"."id" = $1 AND "bloom_remit_txns"."secret" = $2 LIMIT 1[0m [["id", 2], ["secret", "7f466448-4c9f-467b-a836-19a829c67f83"]]
|
35560
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
35561
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "bloom_remit_txns" SET "status" = $1 WHERE "bloom_remit_txns"."id" = $2[0m [["status", 1], ["id", 2]]
|
35562
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
35563
|
+
Completed 204 No Content in 43ms (ActiveRecord: 1.2ms)
|
35564
|
+
[1m[36mBloomRemit::Txn Load (0.4ms)[0m [1mSELECT "bloom_remit_txns".* FROM "bloom_remit_txns" WHERE "bloom_remit_txns"."id" = $1 LIMIT 1[0m [["id", 2]]
|
35565
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
35566
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
35567
|
+
[1m[35m (0.2ms)[0m COMMIT
|
35568
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
35569
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
35570
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("type") VALUES ($1) RETURNING "id"[0m [["type", "SubUser"]]
|
35571
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
35572
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
35573
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "billers" ("slug") VALUES ($1) RETURNING "id" [["slug", "PLDT"]]
|
35574
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
35575
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
35576
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "payments" ("type") VALUES ($1) RETURNING "id"[0m [["type", "SubPayment"]]
|
35577
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
35578
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
35579
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "bloom_remit_txns" ("secret", "sender_type", "sender_id", "amount", "account_name", "account_id", "target_slug", "owner_id", "owner_type", "external_id", "recipient_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["secret", "ddf2a4d3-a3ec-4447-bfe7-6af882e56017"], ["sender_type", "User"], ["sender_id", "3"], ["amount", "800.0"], ["account_name", "028109090"], ["account_id", "Hooli X"], ["target_slug", "PLDT"], ["owner_id", "1"], ["owner_type", "Payment"], ["external_id", "5572b7d8262d034e78836fc7"], ["recipient_id", "recipient-id"]]
|
35580
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
35581
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
35582
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
35583
|
+
[1m[35m (0.2ms)[0m COMMIT
|
35584
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
35585
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
35586
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
35587
|
+
[1m[35m (0.2ms)[0m COMMIT
|
35588
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
35589
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
35590
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "payments" DEFAULT VALUES RETURNING "id"[0m
|
35591
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
35592
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
35593
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" DEFAULT VALUES RETURNING "id"
|
35594
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
35595
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
35596
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "bloom_remit_txns" ("target_slug", "amount", "secret", "external_id", "owner_id", "owner_type", "sender_id", "sender_type") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["target_slug", "TARGET_SLUG"], ["amount", "2500.0"], ["secret", "abe685a1-af94-4f9d-be97-575927237b93"], ["external_id", "0c76b0d303984b6a4becaf39"], ["owner_id", "2"], ["owner_type", "Payment"], ["sender_id", "4"], ["sender_type", "User"]]
|
35597
|
+
[1m[35m (0.4ms)[0m RELEASE SAVEPOINT active_record_1
|
35598
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
35599
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "bloom_remit_responses" ("body", "txn_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["body", "{\"i\":\"am body\"}"], ["txn_id", 4], ["created_at", "2016-10-05 07:01:02.730799"], ["updated_at", "2016-10-05 07:01:02.730799"]]
|
35600
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
35601
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM "bloom_remit_responses" WHERE "bloom_remit_responses"."txn_id" = $1 [["txn_id", 4]]
|
35602
|
+
[1m[36mBloomRemit::Response Load (0.5ms)[0m [1mSELECT "bloom_remit_responses".* FROM "bloom_remit_responses" WHERE "bloom_remit_responses"."txn_id" = $1 ORDER BY "bloom_remit_responses"."id" ASC LIMIT 1[0m [["txn_id", 4]]
|
35603
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
35604
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
35605
|
+
[1m[35m (0.3ms)[0m COMMIT
|
35606
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
35607
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
35608
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "payments" DEFAULT VALUES RETURNING "id"[0m
|
35609
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
35610
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
35611
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "users" DEFAULT VALUES RETURNING "id"
|
35612
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
35613
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
35614
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "bloom_remit_txns" ("target_slug", "amount", "secret", "external_id", "owner_id", "owner_type", "sender_id", "sender_type") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["target_slug", "TARGET_SLUG"], ["amount", "2500.0"], ["secret", "dd23d350-e371-4985-8756-1111b85c779f"], ["external_id", "405c497a8cab7473f7f00b1d"], ["owner_id", "3"], ["owner_type", "Payment"], ["sender_id", "5"], ["sender_type", "User"]]
|
35615
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
35616
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
35617
|
+
[1m[35mSQL (0.7ms)[0m UPDATE "bloom_remit_txns" SET "status" = $1 WHERE "bloom_remit_txns"."id" = $2 [["status", 7], ["id", 5]]
|
35618
|
+
[1m[36m (0.4ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
35619
|
+
[1m[35m (0.4ms)[0m SAVEPOINT active_record_1
|
35620
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "bloom_remit_responses" ("body", "txn_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["body", "{\"status\":\"500\",\"error\":\"Internal Server Error\"}"], ["txn_id", 5], ["created_at", "2016-10-05 07:01:02.776864"], ["updated_at", "2016-10-05 07:01:02.776864"]]
|
35621
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
35622
|
+
[1m[36mBloomRemit::Txn Load (0.5ms)[0m [1mSELECT "bloom_remit_txns".* FROM "bloom_remit_txns" WHERE "bloom_remit_txns"."id" = $1 LIMIT 1[0m [["id", 5]]
|
35623
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
35624
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
35625
|
+
[1m[35m (0.2ms)[0m COMMIT
|
35626
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
35627
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
35628
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
35629
|
+
[1m[35m (0.3ms)[0m COMMIT
|
35630
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
35631
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
35632
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
35633
|
+
[1m[35m (0.2ms)[0m COMMIT
|
35634
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
35635
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
35636
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
35637
|
+
[1m[35m (0.3ms)[0m COMMIT
|
35638
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
35639
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
35640
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
35641
|
+
[1m[35m (0.2ms)[0m COMMIT
|
35642
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
35643
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
@@ -8,6 +8,7 @@ module BloomRemit
|
|
8
8
|
build_stubbed(:bloom_remit_dummy_user, bloom_remit_id: "sender-id")
|
9
9
|
end
|
10
10
|
let(:external_id) { SecureRandom.hex(12) }
|
11
|
+
let(:recipient_id) { SecureRandom.uuid }
|
11
12
|
let(:txn) do
|
12
13
|
build_stubbed(:bloom_remit_txn, {
|
13
14
|
target_slug: "PLDT",
|
@@ -16,6 +17,7 @@ module BloomRemit
|
|
16
17
|
account_name: "029925252",
|
17
18
|
account_id: "12345678",
|
18
19
|
external_id: external_id,
|
20
|
+
recipient_id: recipient_id,
|
19
21
|
})
|
20
22
|
end
|
21
23
|
let(:callback_url) do
|
@@ -34,6 +36,7 @@ module BloomRemit
|
|
34
36
|
target_slug: "PLDT",
|
35
37
|
amount: BigDecimal.new(2000),
|
36
38
|
client_external_id: external_id,
|
39
|
+
recipient_id: recipient_id,
|
37
40
|
).and_return(response)
|
38
41
|
|
39
42
|
resulting_ctx = described_class.execute(txn: txn, client: client)
|