Ran
|
Jobs
1
|
Files
43
|
Run time
2s
|
Badge
Embed ▾
README BADGES
|
push
travis-ci
# ------------------------ >8 ------------------------ # Do not touch the line above. # Everything below will be removed. # Please enter the commit message for your changes. Lines starting # with '#' will be ignored, and an empty message aborts the commit. # # On branch feature/BunqAPI # Your branch is up-to-date with 'origin/feature/BunqAPI'. # Changes to be committed: # # modified: static/BunqAPI/JS/decrypt.js # deleted: static/BunqAPI/JS/display.js # # Changes not staged for commit: # # # # modified: BunqAPI/pythonBunq # diff --git a/static/BunqAPI/JS/decrypt.js b/static/BunqAPI/JS/decrypt.js index ab09532..ba431aa 100644 --- a/static/BunqAPI/JS/decrypt.js +++ b/static/BunqAPI/JS/decrypt.js @@ -4,7 +4,6 @@ $(function() { accountID = ''; $("#lock_ids").click(function(event) { /* Act on the event */ - console.log('set_up'); userID = $('#userID').val() accountID = $("#accountID").val() }); @@ -27,41 +26,34 @@ $(function() { /* Act on the event */ // event.preventDefault(); // get_file() - console.log($(this)[0].id); sendPost(jsonObj, $(this)[0].id) }); $('#start_session').click(function(event) { // get_file() // event.preventDefault(); - console.log('click'); sendPost(jsonObj, $(this)[0].id, start_session_template) }); $("#users").click(function(event) { /* Act on the event */ - console.log('users'); sendPost(jsonObj, $(this)[0].id + '/' + userID + '/', ussers_template) }); $("#accounts").click(function(event) { /* Act on the event */ - console.log('accounts'); sendPost(jsonObj, $(this)[0].id + '/' + userID + '/' + accountID, accounts_template) }); $("#payment").click(function(event) { /* Act on the event */ - console.log('payment'); sendPost(jsonObj, $(this)[0].id + '/' + userID + '/' + accountID, payments_template) }); $("#card").click(function(event) { /* Act on the event */ - console.log('card'); }); $("#mastercard_action").click(function(event) { /* Act on the event */ - console.log('mastercard_action'); }); }); @@ -91,7 +83,6 @@ function sendPost(json, action, template) { .done(function(response) { r = JSON.parse(response) // r = response - console.log(r); // $("#response").html(response) if (r.Response) { show(r.Response, false, template) diff --git a/static/BunqAPI/JS/display.js b/static/BunqAPI/JS/display.js deleted file mode 100644 index dc07ae0..0000000 --- a/static/BunqAPI/JS/display.js +++ /dev/null @@ -1,213 +0,0 @@ -t = { - "Response": [ - { - "Id": { - "id": 20617 - } - }, - { - "Token": { - "updated": "2017-05-02 19:02:40.357860", - "id": 20617, - "token": "9c3a15228044e9faa390b7dc98c89a3cb", - "created": "2017-05-02 19:02:40.357860" - } - }, - { - "UserCompany": { - "updated": "2017-05-02 19:02:14.050160", - "ubo": [ - { - "name": "Dolly Hegger", - "date_of_birth": "1959-12-18", - "nationality": "NL" - } - ], - "alias": [ - { - "name": "+31682501531", - "type": "PHONE_NUMBER", - "value": "+31682501531" - }, - { - "name": "rae-cv@bunq.org", - "type": "EMAIL", - "value": "rae-cv@bunq.org" - } - ], - "id": 1816, - "version_terms_of_service": "1.0", - "avatar": { - "image": [ - { - "height": 640, - "attachment_public_uuid": "0d10b1c4-b249-4c49-a442-5379bae0a030", - "content_type": "image/png", - "width": 640 - } - ], - "uuid": "646d3802-881e-415c-96f9-35397ce7cc9a", - "anchor_uuid": "b6f29f76-4afb-4f97-a235-180c11e53be5" - }, - "country": "NL", - "address_main": { - "house_number": "96", - "city": "Maastricht", - "postal_code": "1265 VD", - "province": null, - "street": "Holter Heath", - "country": "NL" - }, - "director_alias": { - "avatar": { - "image": [ - { - "height": 480, - "attachment_public_uuid": "d3266354-43fc-43de-b395-8e489d5ae583", - "content_type": "image/jpeg", - "width": 480 - } - ], - "uuid": "f6613092-680b-4369-a9b8-f368fc066af2", - "anchor_uuid": "311c30fe-e483-4183-9d68-6cb3ba012cb3" - }, - "uuid": "311c30fe-e483-4183-9d68-6cb3ba012cb3", - "public_nick_name": "Isaias (nickname)", - "country": "000", - "display_name": "Isaias (nickname)" - }, - "counter_bank_iban": "NL91ABNA0417164300", - "daily_limit_without_confirmation_login": { - "value": "25", - "currency": "EUR" - }, - "address_postal": { - "house_number": "96", - "city": "Maastricht", - "postal_code": "1265 VD", - "province": null, - "street": "Holter Heath", - "country": "NL" - }, - "notification_filters": [ - { - "notification_delivery_method": "PUSH", - "category": "BILLING" - }, - { - "notification_delivery_method": "PUSH", - "category": "CARD_TRANSACTION_FAILED" - }, - { - "notification_delivery_method": "PUSH", - "category": "CARD_TRANSACTION_SUCCESSFUL" - }, - { - "notification_delivery_method": "PUSH", - "category": "CHAT" - }, - { - "notification_delivery_method": "PUSH", - "category": "DRAFT_PAYMENT" - }, - { - "notification_delivery_method": "PUSH", - "category": "FRIEND_SIGN_UP" - }, - { - "notification_delivery_method": "PUSH", - "category": "IDEAL" - }, - { - "notification_delivery_method": "PUSH", - "category": "SOFORT" - }, - { - "notification_delivery_method": "PUSH", - "category": "MONETARY_ACCOUNT_PROFILE" - }, - { - "notification_delivery_method": "PUSH", - "category": "PAYMENT" - }, - { - "notification_delivery_method": "PUSH", - "category": "PROMOTION" - }, - { - "notification_delivery_method": "PUSH", - "category": "REQUEST" - }, - { - "notification_delivery_method": "PUSH", - "category": "SCHEDULE_RESULT" - }, - { - "notification_delivery_method": "PUSH", - "category": "SCHEDULE_STATUS" - }, - { - "notification_delivery_method": "PUSH", - "category": "SHARE" - }, - { - "notification_delivery_method": "PUSH", - "category": "SUPPORT" - }, - { - "notification_delivery_method": "PUSH", - "category": "TAB_RESULT" - }, - { - "notification_delivery_method": "PUSH", - "category": "USE_RESPONSE" - }, - { - "notification_delivery_method": "PUSH", - "category": "USER_APPROVAL" - }, - { - "notification_delivery_method": "PUSH", - "category": "WHITELIST" - }, - { - "notification_delivery_method": "PUSH", - "category": "WHITELIST_RESULT" - }, - { - "notification_delivery_method": "PUSH", - "category": "SLICE_CHAT" - }, - { - "notification_delivery_method": "PUSH", - "category": "SLICE_REGISTRY_ENTRY" - }, - { - "notification_delivery_method": "PUSH", - "category": "SLICE_REGISTRY_MEMBERSHIP" - }, - { - "notification_delivery_method": "PUSH", - "category": "SLICE_REGISTRY_SETTLEMENT" - } - ], - "sub_status": "NONE", - "session_timeout": 604800, - "region": "nl_NL", - "created": "2017-03-15 01:02:45.563621", - "public_nick_name": "Guthrie Onderlinge Waarborgmaatschappij", - "language": "en_US", - "name": "Guthrie Onderlinge Waarborgmaatschappij", - "status": "ACTIVE", - "display_name": "Guthrie Onderlinge Waarborgmaatschappij", - "public_uuid": "b6f29f76-4afb-4f97-a235-180c11e53be5", - "chamber_of_commerce_number": "18498622" - } - } - ] -} - -function p (jsonString) { - json = JSON.parse(jsonString) - -}
484 of 599 relevant lines covered (80.8%)
0.81 hits per line
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 144.1 | 43 |
80.8 |
Travis Job 144.1 |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|