Advertisement
Guest User

Untitled

a guest
Jul 11th, 2017
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 29.22 KB | None | 0 0
  1. Codeception PHP Testing Framework v2.3.2
  2. Powered by PHPUnit 5.7.20 by Sebastian Bergmann and contributors.
  3.  
  4. Functional Tests (1) ---------------------------------------------------------
  5. Modules: Asserts, Filesystem, \tests\_support\Yii2, REST
  6. ------------------------------------------------------------------------------
  7. PantalooEventsCest: Ten spin debit
  8. Signature: tests\functional\Modules\Game\Modules\GameArt\PantalooEventsCest:tenSpinDebit
  9. Test: tests/functional/Modules/Game/Modules/Pantaloo/PantalooEventsCest.php:tenSpinDebit
  10. Scenario --
  11.   [yii\db\Connection::open] 'Opening DB connection: mysql:host=172.21.1.4;dbname=platform_test'
  12.   [application] [
  13.       'action' => 'debit',
  14.       'amount' => 0.40000000000000002,
  15.       'provider' => 'ne',
  16.       'round_id' => '1508134178',
  17.       'transaction_id' => '150813438',
  18.       'gameplay_final' => 1,
  19.       'callerId' => 'boss',
  20.       'callerPassword' => '05b1f356646c24bf1765f6f1b65aea3bde7247e1',
  21.       'callerPrefix' => 'bs',
  22.       'username' => 'achernyi',
  23.       'session_id' => 'authSessionId',
  24.       'remote_id' => 1,
  25.       'game_id' => 3072,
  26.       'gamesession_id' => '1490179510370-1970-Z4HTMATFOLJGB',
  27.       'key' => '6055a0def7d55448d8eb46b33e475b75efb53f6f',
  28.   ]
  29.  I send get "/platform/web/game/Pantaloo...",{"action":"debit","amount":0...}
  30.   [Request] GET /platform/web/game/Pantaloo/events/provider-request?action=debit&amount=0.4&provider=ne&round_id=1508134178&transaction_id=150813438&gameplay_final=1&callerId=boss&callerPassword=05b1f356646c24bf1765f6f1b65aea3bde7247e1&callerPrefix=bs&username=achernyi&session_id=authSessionId&remote_id=1&game_id=3072&gamesession_id=1490179510370-1970-Z4HTMATFOLJGB&key=6055a0def7d55448d8eb46b33e475b75efb53f6f
  31.   [Request Headers] []
  32.   [yii\filters\RateLimiter::beforeAction] 'Rate limit skipped: user not logged in.'
  33.   [yii\filters\RateLimiter::beforeAction] 'Rate limit skipped: user not logged in.'
  34.   [application] 'sessionActions is closed: 1'
  35.   [Page] /platform/web/game/Pantaloo/events/provider-request?action=debit&amount=0.4&provider=ne&round_id=1508134178&transaction_id=150813438&gameplay_final=1&callerId=boss&callerPassword=05b1f356646c24bf1765f6f1b65aea3bde7247e1&callerPrefix=bs&username=achernyi&session_id=authSessionId&remote_id=1&game_id=3072&gamesession_id=1490179510370-1970-Z4HTMATFOLJGB&key=6055a0def7d55448d8eb46b33e475b75efb53f6f
  36.   [Response] 200
  37.   [Request Cookies] []
  38.   [Response Headers] {"access-control-allow-credentials":["true"],"access-control-expose-headers":["access-token, expiry, token-type, uid, client, Content-Length, If-Modified-Since, X-Requested-With, Warning, Content-Type, Content-Range, Content-Disposition, Content-Description"],"content-type":["application/json; charset=UTF-8"]}
  39.   [Response] {"status":200,"balance":"299.60","transactionId":"150813438","dubl":false}
  40.  I can see response is json
  41.  I can see response code is 200
  42.  I see response contains json {"status":200,"balance":"299.60"}
  43.   [application] [
  44.       'action' => 'debit',
  45.       'amount' => 0.40000000000000002,
  46.       'provider' => 'ne',
  47.       'round_id' => '1508134178',
  48.       'transaction_id' => '150813299',
  49.       'gameplay_final' => 1,
  50.       'callerId' => 'boss',
  51.       'callerPassword' => '05b1f356646c24bf1765f6f1b65aea3bde7247e1',
  52.       'callerPrefix' => 'bs',
  53.       'username' => 'achernyi',
  54.       'session_id' => 'authSessionId',
  55.       'remote_id' => 1,
  56.       'game_id' => 3072,
  57.       'gamesession_id' => '1490179510370-1970-Z4HTMATFOLJGB',
  58.       'key' => '5e0c6c1ea5a203cb4a1d9db0ce26ec63327ebe10',
  59.   ]
  60.  I send get "/platform/web/game/Pantaloo...",{"action":"debit","amount":0...}
  61.   [Request] GET /platform/web/game/Pantaloo/events/provider-request?action=debit&amount=0.4&provider=ne&round_id=1508134178&transaction_id=150813299&gameplay_final=1&callerId=boss&callerPassword=05b1f356646c24bf1765f6f1b65aea3bde7247e1&callerPrefix=bs&username=achernyi&session_id=authSessionId&remote_id=1&game_id=3072&gamesession_id=1490179510370-1970-Z4HTMATFOLJGB&key=5e0c6c1ea5a203cb4a1d9db0ce26ec63327ebe10
  62.   [Request Headers] []
  63.   [yii\filters\RateLimiter::beforeAction] 'Rate limit skipped: user not logged in.'
  64.   [yii\filters\RateLimiter::beforeAction] 'Rate limit skipped: user not logged in.'
  65.   [application] 'sessionActions is closed: 1'
  66.   [Page] /platform/web/game/Pantaloo/events/provider-request?action=debit&amount=0.4&provider=ne&round_id=1508134178&transaction_id=150813299&gameplay_final=1&callerId=boss&callerPassword=05b1f356646c24bf1765f6f1b65aea3bde7247e1&callerPrefix=bs&username=achernyi&session_id=authSessionId&remote_id=1&game_id=3072&gamesession_id=1490179510370-1970-Z4HTMATFOLJGB&key=5e0c6c1ea5a203cb4a1d9db0ce26ec63327ebe10
  67.   [Response] 200
  68.   [Request Cookies] []
  69.   [Response Headers] {"access-control-allow-credentials":["true"],"access-control-expose-headers":["access-token, expiry, token-type, uid, client, Content-Length, If-Modified-Since, X-Requested-With, Warning, Content-Type, Content-Range, Content-Disposition, Content-Description"],"content-type":["application/json; charset=UTF-8"]}
  70.   [Response] {"status":200,"balance":"299.20","transactionId":"150813299","dubl":false}
  71.  I can see response is json
  72.  I can see response code is 200
  73.  I see response contains json {"status":200,"balance":"299.20"}
  74.   [application] [
  75.       'action' => 'debit',
  76.       'amount' => 0.40000000000000002,
  77.       'provider' => 'ne',
  78.       'round_id' => '1508134178',
  79.       'transaction_id' => '150813242',
  80.       'gameplay_final' => 1,
  81.       'callerId' => 'boss',
  82.       'callerPassword' => '05b1f356646c24bf1765f6f1b65aea3bde7247e1',
  83.       'callerPrefix' => 'bs',
  84.       'username' => 'achernyi',
  85.       'session_id' => 'authSessionId',
  86.       'remote_id' => 1,
  87.       'game_id' => 3072,
  88.       'gamesession_id' => '1490179510370-1970-Z4HTMATFOLJGB',
  89.       'key' => '04c39c12d124f6537db9fc2a8dd9d4839b5e3f9e',
  90.   ]
  91.  I send get "/platform/web/game/Pantaloo...",{"action":"debit","amount":0...}
  92.   [Request] GET /platform/web/game/Pantaloo/events/provider-request?action=debit&amount=0.4&provider=ne&round_id=1508134178&transaction_id=150813242&gameplay_final=1&callerId=boss&callerPassword=05b1f356646c24bf1765f6f1b65aea3bde7247e1&callerPrefix=bs&username=achernyi&session_id=authSessionId&remote_id=1&game_id=3072&gamesession_id=1490179510370-1970-Z4HTMATFOLJGB&key=04c39c12d124f6537db9fc2a8dd9d4839b5e3f9e
  93.   [Request Headers] []
  94.   [yii\filters\RateLimiter::beforeAction] 'Rate limit skipped: user not logged in.'
  95.   [yii\filters\RateLimiter::beforeAction] 'Rate limit skipped: user not logged in.'
  96.   [application] 'sessionActions is closed: 1'
  97.   [Page] /platform/web/game/Pantaloo/events/provider-request?action=debit&amount=0.4&provider=ne&round_id=1508134178&transaction_id=150813242&gameplay_final=1&callerId=boss&callerPassword=05b1f356646c24bf1765f6f1b65aea3bde7247e1&callerPrefix=bs&username=achernyi&session_id=authSessionId&remote_id=1&game_id=3072&gamesession_id=1490179510370-1970-Z4HTMATFOLJGB&key=04c39c12d124f6537db9fc2a8dd9d4839b5e3f9e
  98.   [Response] 200
  99.   [Request Cookies] {"affiliate":"592563b32ddc77755bb8416a6305b15241dc78a0bb27af7bcb152b69f1a6a77aa:2:{i:0;s:9:"affiliate";i:1;s:406:"{"action":"debit","amount":"0.4","provider":"ne","round_id":"1508134178","transaction_id":"150813438","gameplay_final":"1","callerId":"boss","callerPassword":"05b1f356646c24bf1765f6f1b65aea3bde7247e1","callerPrefix":"bs","username":"achernyi","session_id":"authSessionId","remote_id":"1","game_id":"3072","gamesession_id":"1490179510370-1970-Z4HTMATFOLJGB","key":"6055a0def7d55448d8eb46b33e475b75efb53f6f"}";}"}
  100.   [Response Headers] {"access-control-allow-credentials":["true"],"access-control-expose-headers":["access-token, expiry, token-type, uid, client, Content-Length, If-Modified-Since, X-Requested-With, Warning, Content-Type, Content-Range, Content-Disposition, Content-Description"],"content-type":["application/json; charset=UTF-8"]}
  101.   [Response] {"status":200,"balance":"298.80","transactionId":"150813242","dubl":false}
  102.  I can see response is json
  103.  I can see response code is 200
  104.  I see response contains json {"status":200,"balance":"298.80"}
  105.   [application] [
  106.       'action' => 'debit',
  107.       'amount' => 0.40000000000000002,
  108.       'provider' => 'ne',
  109.       'round_id' => '1508134178',
  110.       'transaction_id' => '150813804',
  111.       'gameplay_final' => 1,
  112.       'callerId' => 'boss',
  113.       'callerPassword' => '05b1f356646c24bf1765f6f1b65aea3bde7247e1',
  114.       'callerPrefix' => 'bs',
  115.       'username' => 'achernyi',
  116.       'session_id' => 'authSessionId',
  117.       'remote_id' => 1,
  118.       'game_id' => 3072,
  119.       'gamesession_id' => '1490179510370-1970-Z4HTMATFOLJGB',
  120.       'key' => '39ef6d1d3d8871d0a6fe30e3f0715984a7f56e61',
  121.   ]
  122.  I send get "/platform/web/game/Pantaloo...",{"action":"debit","amount":0...}
  123.   [Request] GET /platform/web/game/Pantaloo/events/provider-request?action=debit&amount=0.4&provider=ne&round_id=1508134178&transaction_id=150813804&gameplay_final=1&callerId=boss&callerPassword=05b1f356646c24bf1765f6f1b65aea3bde7247e1&callerPrefix=bs&username=achernyi&session_id=authSessionId&remote_id=1&game_id=3072&gamesession_id=1490179510370-1970-Z4HTMATFOLJGB&key=39ef6d1d3d8871d0a6fe30e3f0715984a7f56e61
  124.   [Request Headers] []
  125.   [yii\filters\RateLimiter::beforeAction] 'Rate limit skipped: user not logged in.'
  126.   [yii\filters\RateLimiter::beforeAction] 'Rate limit skipped: user not logged in.'
  127.   [application] 'sessionActions is closed: 1'
  128.   [Page] /platform/web/game/Pantaloo/events/provider-request?action=debit&amount=0.4&provider=ne&round_id=1508134178&transaction_id=150813804&gameplay_final=1&callerId=boss&callerPassword=05b1f356646c24bf1765f6f1b65aea3bde7247e1&callerPrefix=bs&username=achernyi&session_id=authSessionId&remote_id=1&game_id=3072&gamesession_id=1490179510370-1970-Z4HTMATFOLJGB&key=39ef6d1d3d8871d0a6fe30e3f0715984a7f56e61
  129.   [Response] 200
  130.   [Request Cookies] {"affiliate":"f9693aa47e23f1ec32bea96aac71fcb28a9037c04494ae3bba1fede9990ae4b6a:2:{i:0;s:9:"affiliate";i:1;s:406:"{"action":"debit","amount":"0.4","provider":"ne","round_id":"1508134178","transaction_id":"150813299","gameplay_final":"1","callerId":"boss","callerPassword":"05b1f356646c24bf1765f6f1b65aea3bde7247e1","callerPrefix":"bs","username":"achernyi","session_id":"authSessionId","remote_id":"1","game_id":"3072","gamesession_id":"1490179510370-1970-Z4HTMATFOLJGB","key":"5e0c6c1ea5a203cb4a1d9db0ce26ec63327ebe10"}";}"}
  131.   [Response Headers] {"access-control-allow-credentials":["true"],"access-control-expose-headers":["access-token, expiry, token-type, uid, client, Content-Length, If-Modified-Since, X-Requested-With, Warning, Content-Type, Content-Range, Content-Disposition, Content-Description"],"content-type":["application/json; charset=UTF-8"]}
  132.   [Response] {"status":200,"balance":"298.40","transactionId":"150813804","dubl":false}
  133.  I can see response is json
  134.  I can see response code is 200
  135.  I see response contains json {"status":200,"balance":"298.40"}
  136.   [application] [
  137.       'action' => 'debit',
  138.       'amount' => 0.40000000000000002,
  139.       'provider' => 'ne',
  140.       'round_id' => '1508134178',
  141.       'transaction_id' => '150813514',
  142.       'gameplay_final' => 1,
  143.       'callerId' => 'boss',
  144.       'callerPassword' => '05b1f356646c24bf1765f6f1b65aea3bde7247e1',
  145.       'callerPrefix' => 'bs',
  146.       'username' => 'achernyi',
  147.       'session_id' => 'authSessionId',
  148.       'remote_id' => 1,
  149.       'game_id' => 3072,
  150.       'gamesession_id' => '1490179510370-1970-Z4HTMATFOLJGB',
  151.       'key' => '0a3eabf6a20bbf4b5b413c22d76c9b19eeb24ca0',
  152.   ]
  153.  I send get "/platform/web/game/Pantaloo...",{"action":"debit","amount":0...}
  154.   [Request] GET /platform/web/game/Pantaloo/events/provider-request?action=debit&amount=0.4&provider=ne&round_id=1508134178&transaction_id=150813514&gameplay_final=1&callerId=boss&callerPassword=05b1f356646c24bf1765f6f1b65aea3bde7247e1&callerPrefix=bs&username=achernyi&session_id=authSessionId&remote_id=1&game_id=3072&gamesession_id=1490179510370-1970-Z4HTMATFOLJGB&key=0a3eabf6a20bbf4b5b413c22d76c9b19eeb24ca0
  155.   [Request Headers] []
  156.   [yii\filters\RateLimiter::beforeAction] 'Rate limit skipped: user not logged in.'
  157.   [yii\filters\RateLimiter::beforeAction] 'Rate limit skipped: user not logged in.'
  158.   [application] 'sessionActions is closed: 1'
  159.   [Page] /platform/web/game/Pantaloo/events/provider-request?action=debit&amount=0.4&provider=ne&round_id=1508134178&transaction_id=150813514&gameplay_final=1&callerId=boss&callerPassword=05b1f356646c24bf1765f6f1b65aea3bde7247e1&callerPrefix=bs&username=achernyi&session_id=authSessionId&remote_id=1&game_id=3072&gamesession_id=1490179510370-1970-Z4HTMATFOLJGB&key=0a3eabf6a20bbf4b5b413c22d76c9b19eeb24ca0
  160.   [Response] 200
  161.   [Request Cookies] {"affiliate":"81d3e8af9fd26bd0f419cc92fb5fb8112debcdd27aa27f96ceac25ce02ae0d89a:2:{i:0;s:9:"affiliate";i:1;s:406:"{"action":"debit","amount":"0.4","provider":"ne","round_id":"1508134178","transaction_id":"150813242","gameplay_final":"1","callerId":"boss","callerPassword":"05b1f356646c24bf1765f6f1b65aea3bde7247e1","callerPrefix":"bs","username":"achernyi","session_id":"authSessionId","remote_id":"1","game_id":"3072","gamesession_id":"1490179510370-1970-Z4HTMATFOLJGB","key":"04c39c12d124f6537db9fc2a8dd9d4839b5e3f9e"}";}"}
  162.   [Response Headers] {"access-control-allow-credentials":["true"],"access-control-expose-headers":["access-token, expiry, token-type, uid, client, Content-Length, If-Modified-Since, X-Requested-With, Warning, Content-Type, Content-Range, Content-Disposition, Content-Description"],"content-type":["application/json; charset=UTF-8"]}
  163.   [Response] {"status":200,"balance":"298.00","transactionId":"150813514","dubl":false}
  164.  I can see response is json
  165.  I can see response code is 200
  166.  I see response contains json {"status":200,"balance":"298.00"}
  167.   [application] [
  168.       'action' => 'debit',
  169.       'amount' => 0.40000000000000002,
  170.       'provider' => 'ne',
  171.       'round_id' => '1508134178',
  172.       'transaction_id' => '15081365',
  173.       'gameplay_final' => 1,
  174.       'callerId' => 'boss',
  175.       'callerPassword' => '05b1f356646c24bf1765f6f1b65aea3bde7247e1',
  176.       'callerPrefix' => 'bs',
  177.       'username' => 'achernyi',
  178.       'session_id' => 'authSessionId',
  179.       'remote_id' => 1,
  180.       'game_id' => 3072,
  181.       'gamesession_id' => '1490179510370-1970-Z4HTMATFOLJGB',
  182.       'key' => '1a9a0d98f0a7e7f19ce4d449a8cc396de50cc852',
  183.   ]
  184.  I send get "/platform/web/game/Pantaloo...",{"action":"debit","amount":0...}
  185.   [Request] GET /platform/web/game/Pantaloo/events/provider-request?action=debit&amount=0.4&provider=ne&round_id=1508134178&transaction_id=15081365&gameplay_final=1&callerId=boss&callerPassword=05b1f356646c24bf1765f6f1b65aea3bde7247e1&callerPrefix=bs&username=achernyi&session_id=authSessionId&remote_id=1&game_id=3072&gamesession_id=1490179510370-1970-Z4HTMATFOLJGB&key=1a9a0d98f0a7e7f19ce4d449a8cc396de50cc852
  186.   [Request Headers] []
  187.   [yii\filters\RateLimiter::beforeAction] 'Rate limit skipped: user not logged in.'
  188.   [yii\filters\RateLimiter::beforeAction] 'Rate limit skipped: user not logged in.'
  189.   [application] 'sessionActions is closed: 1'
  190.   [Page] /platform/web/game/Pantaloo/events/provider-request?action=debit&amount=0.4&provider=ne&round_id=1508134178&transaction_id=15081365&gameplay_final=1&callerId=boss&callerPassword=05b1f356646c24bf1765f6f1b65aea3bde7247e1&callerPrefix=bs&username=achernyi&session_id=authSessionId&remote_id=1&game_id=3072&gamesession_id=1490179510370-1970-Z4HTMATFOLJGB&key=1a9a0d98f0a7e7f19ce4d449a8cc396de50cc852
  191.   [Response] 200
  192.   [Request Cookies] {"affiliate":"a6a45083a2844f4d58ad263aa75c7ad0e0252a2360657fc2ca6a243d314a65b0a:2:{i:0;s:9:"affiliate";i:1;s:406:"{"action":"debit","amount":"0.4","provider":"ne","round_id":"1508134178","transaction_id":"150813804","gameplay_final":"1","callerId":"boss","callerPassword":"05b1f356646c24bf1765f6f1b65aea3bde7247e1","callerPrefix":"bs","username":"achernyi","session_id":"authSessionId","remote_id":"1","game_id":"3072","gamesession_id":"1490179510370-1970-Z4HTMATFOLJGB","key":"39ef6d1d3d8871d0a6fe30e3f0715984a7f56e61"}";}"}
  193.   [Response Headers] {"access-control-allow-credentials":["true"],"access-control-expose-headers":["access-token, expiry, token-type, uid, client, Content-Length, If-Modified-Since, X-Requested-With, Warning, Content-Type, Content-Range, Content-Disposition, Content-Description"],"content-type":["application/json; charset=UTF-8"]}
  194.   [Response] {"status":200,"balance":"297.60","transactionId":"15081365","dubl":false}
  195.  I can see response is json
  196.  I can see response code is 200
  197.  I see response contains json {"status":200,"balance":"297.60"}
  198.   [application] [
  199.       'action' => 'debit',
  200.       'amount' => 0.40000000000000002,
  201.       'provider' => 'ne',
  202.       'round_id' => '1508134178',
  203.       'transaction_id' => '150813711',
  204.       'gameplay_final' => 1,
  205.       'callerId' => 'boss',
  206.       'callerPassword' => '05b1f356646c24bf1765f6f1b65aea3bde7247e1',
  207.       'callerPrefix' => 'bs',
  208.       'username' => 'achernyi',
  209.       'session_id' => 'authSessionId',
  210.       'remote_id' => 1,
  211.       'game_id' => 3072,
  212.       'gamesession_id' => '1490179510370-1970-Z4HTMATFOLJGB',
  213.       'key' => 'd791b6c8cfd7848ce636ca77fe941f8a3254db56',
  214.   ]
  215.  I send get "/platform/web/game/Pantaloo...",{"action":"debit","amount":0...}
  216.   [Request] GET /platform/web/game/Pantaloo/events/provider-request?action=debit&amount=0.4&provider=ne&round_id=1508134178&transaction_id=150813711&gameplay_final=1&callerId=boss&callerPassword=05b1f356646c24bf1765f6f1b65aea3bde7247e1&callerPrefix=bs&username=achernyi&session_id=authSessionId&remote_id=1&game_id=3072&gamesession_id=1490179510370-1970-Z4HTMATFOLJGB&key=d791b6c8cfd7848ce636ca77fe941f8a3254db56
  217.   [Request Headers] []
  218.   [yii\filters\RateLimiter::beforeAction] 'Rate limit skipped: user not logged in.'
  219.   [yii\filters\RateLimiter::beforeAction] 'Rate limit skipped: user not logged in.'
  220.   [application] 'sessionActions is closed: 1'
  221.   [Page] /platform/web/game/Pantaloo/events/provider-request?action=debit&amount=0.4&provider=ne&round_id=1508134178&transaction_id=150813711&gameplay_final=1&callerId=boss&callerPassword=05b1f356646c24bf1765f6f1b65aea3bde7247e1&callerPrefix=bs&username=achernyi&session_id=authSessionId&remote_id=1&game_id=3072&gamesession_id=1490179510370-1970-Z4HTMATFOLJGB&key=d791b6c8cfd7848ce636ca77fe941f8a3254db56
  222.   [Response] 200
  223.   [Request Cookies] {"affiliate":"b0d2ae690eca72fdb2db871cdb36e26ca454fcd4c49856ce98fa50b6e3b0fadea:2:{i:0;s:9:"affiliate";i:1;s:406:"{"action":"debit","amount":"0.4","provider":"ne","round_id":"1508134178","transaction_id":"150813514","gameplay_final":"1","callerId":"boss","callerPassword":"05b1f356646c24bf1765f6f1b65aea3bde7247e1","callerPrefix":"bs","username":"achernyi","session_id":"authSessionId","remote_id":"1","game_id":"3072","gamesession_id":"1490179510370-1970-Z4HTMATFOLJGB","key":"0a3eabf6a20bbf4b5b413c22d76c9b19eeb24ca0"}";}"}
  224.   [Response Headers] {"access-control-allow-credentials":["true"],"access-control-expose-headers":["access-token, expiry, token-type, uid, client, Content-Length, If-Modified-Since, X-Requested-With, Warning, Content-Type, Content-Range, Content-Disposition, Content-Description"],"content-type":["application/json; charset=UTF-8"]}
  225.   [Response] {"status":200,"balance":"297.20","transactionId":"150813711","dubl":false}
  226.  I can see response is json
  227.  I can see response code is 200
  228.  I see response contains json {"status":200,"balance":"297.20"}
  229.   [application] [
  230.       'action' => 'debit',
  231.       'amount' => 0.40000000000000002,
  232.       'provider' => 'ne',
  233.       'round_id' => '1508134178',
  234.       'transaction_id' => '150813897',
  235.       'gameplay_final' => 1,
  236.       'callerId' => 'boss',
  237.       'callerPassword' => '05b1f356646c24bf1765f6f1b65aea3bde7247e1',
  238.       'callerPrefix' => 'bs',
  239.       'username' => 'achernyi',
  240.       'session_id' => 'authSessionId',
  241.       'remote_id' => 1,
  242.       'game_id' => 3072,
  243.       'gamesession_id' => '1490179510370-1970-Z4HTMATFOLJGB',
  244.       'key' => '9420a3dea18942739cf17eef80f53e1e521f6424',
  245.   ]
  246.  I send get "/platform/web/game/Pantaloo...",{"action":"debit","amount":0...}
  247.   [Request] GET /platform/web/game/Pantaloo/events/provider-request?action=debit&amount=0.4&provider=ne&round_id=1508134178&transaction_id=150813897&gameplay_final=1&callerId=boss&callerPassword=05b1f356646c24bf1765f6f1b65aea3bde7247e1&callerPrefix=bs&username=achernyi&session_id=authSessionId&remote_id=1&game_id=3072&gamesession_id=1490179510370-1970-Z4HTMATFOLJGB&key=9420a3dea18942739cf17eef80f53e1e521f6424
  248.   [Request Headers] []
  249.   [yii\filters\RateLimiter::beforeAction] 'Rate limit skipped: user not logged in.'
  250.   [yii\filters\RateLimiter::beforeAction] 'Rate limit skipped: user not logged in.'
  251.   [application] 'sessionActions is closed: 1'
  252.   [Page] /platform/web/game/Pantaloo/events/provider-request?action=debit&amount=0.4&provider=ne&round_id=1508134178&transaction_id=150813897&gameplay_final=1&callerId=boss&callerPassword=05b1f356646c24bf1765f6f1b65aea3bde7247e1&callerPrefix=bs&username=achernyi&session_id=authSessionId&remote_id=1&game_id=3072&gamesession_id=1490179510370-1970-Z4HTMATFOLJGB&key=9420a3dea18942739cf17eef80f53e1e521f6424
  253.   [Response] 200
  254.   [Request Cookies] {"affiliate":"16296b1197ffcabfa7bc36e74942b436247488a05fe8a6b3f9aef51d73a5b680a:2:{i:0;s:9:"affiliate";i:1;s:405:"{"action":"debit","amount":"0.4","provider":"ne","round_id":"1508134178","transaction_id":"15081365","gameplay_final":"1","callerId":"boss","callerPassword":"05b1f356646c24bf1765f6f1b65aea3bde7247e1","callerPrefix":"bs","username":"achernyi","session_id":"authSessionId","remote_id":"1","game_id":"3072","gamesession_id":"1490179510370-1970-Z4HTMATFOLJGB","key":"1a9a0d98f0a7e7f19ce4d449a8cc396de50cc852"}";}"}
  255.   [Response Headers] {"access-control-allow-credentials":["true"],"access-control-expose-headers":["access-token, expiry, token-type, uid, client, Content-Length, If-Modified-Since, X-Requested-With, Warning, Content-Type, Content-Range, Content-Disposition, Content-Description"],"content-type":["application/json; charset=UTF-8"]}
  256.   [Response] {"status":200,"balance":"296.80","transactionId":"150813897","dubl":false}
  257.  I can see response is json
  258.  I can see response code is 200
  259.  I see response contains json {"status":200,"balance":"296.80"}
  260.   [application] [
  261.       'action' => 'debit',
  262.       'amount' => 0.40000000000000002,
  263.       'provider' => 'ne',
  264.       'round_id' => '1508134178',
  265.       'transaction_id' => '150813172',
  266.       'gameplay_final' => 1,
  267.       'callerId' => 'boss',
  268.       'callerPassword' => '05b1f356646c24bf1765f6f1b65aea3bde7247e1',
  269.       'callerPrefix' => 'bs',
  270.       'username' => 'achernyi',
  271.       'session_id' => 'authSessionId',
  272.       'remote_id' => 1,
  273.       'game_id' => 3072,
  274.       'gamesession_id' => '1490179510370-1970-Z4HTMATFOLJGB',
  275.       'key' => 'a770f3e15d9e73719eae239128710faf5bf0d5fb',
  276.   ]
  277.  I send get "/platform/web/game/Pantaloo...",{"action":"debit","amount":0...}
  278.   [Request] GET /platform/web/game/Pantaloo/events/provider-request?action=debit&amount=0.4&provider=ne&round_id=1508134178&transaction_id=150813172&gameplay_final=1&callerId=boss&callerPassword=05b1f356646c24bf1765f6f1b65aea3bde7247e1&callerPrefix=bs&username=achernyi&session_id=authSessionId&remote_id=1&game_id=3072&gamesession_id=1490179510370-1970-Z4HTMATFOLJGB&key=a770f3e15d9e73719eae239128710faf5bf0d5fb
  279.   [Request Headers] []
  280.   [yii\filters\RateLimiter::beforeAction] 'Rate limit skipped: user not logged in.'
  281.   [yii\filters\RateLimiter::beforeAction] 'Rate limit skipped: user not logged in.'
  282.   [application] 'sessionActions is closed: 1'
  283.   [Page] /platform/web/game/Pantaloo/events/provider-request?action=debit&amount=0.4&provider=ne&round_id=1508134178&transaction_id=150813172&gameplay_final=1&callerId=boss&callerPassword=05b1f356646c24bf1765f6f1b65aea3bde7247e1&callerPrefix=bs&username=achernyi&session_id=authSessionId&remote_id=1&game_id=3072&gamesession_id=1490179510370-1970-Z4HTMATFOLJGB&key=a770f3e15d9e73719eae239128710faf5bf0d5fb
  284.   [Response] 200
  285.   [Request Cookies] {"affiliate":"04b2a6912864b6b5e40c9ae3aa791eacf38047ea81d732db4961c231f992cfcca:2:{i:0;s:9:"affiliate";i:1;s:406:"{"action":"debit","amount":"0.4","provider":"ne","round_id":"1508134178","transaction_id":"150813711","gameplay_final":"1","callerId":"boss","callerPassword":"05b1f356646c24bf1765f6f1b65aea3bde7247e1","callerPrefix":"bs","username":"achernyi","session_id":"authSessionId","remote_id":"1","game_id":"3072","gamesession_id":"1490179510370-1970-Z4HTMATFOLJGB","key":"d791b6c8cfd7848ce636ca77fe941f8a3254db56"}";}"}
  286.   [Response Headers] {"access-control-allow-credentials":["true"],"access-control-expose-headers":["access-token, expiry, token-type, uid, client, Content-Length, If-Modified-Since, X-Requested-With, Warning, Content-Type, Content-Range, Content-Disposition, Content-Description"],"content-type":["application/json; charset=UTF-8"]}
  287.   [Response] {"status":200,"balance":"296.40","transactionId":"150813172","dubl":false}
  288.  I can see response is json
  289.  I can see response code is 200
  290.  I see response contains json {"status":200,"balance":"296.40"}
  291.   [application] [
  292.       'action' => 'debit',
  293.       'amount' => 0.40000000000000002,
  294.       'provider' => 'ne',
  295.       'round_id' => '1508134178',
  296.       'transaction_id' => '150813325',
  297.       'gameplay_final' => 1,
  298.       'callerId' => 'boss',
  299.       'callerPassword' => '05b1f356646c24bf1765f6f1b65aea3bde7247e1',
  300.       'callerPrefix' => 'bs',
  301.       'username' => 'achernyi',
  302.       'session_id' => 'authSessionId',
  303.       'remote_id' => 1,
  304.       'game_id' => 3072,
  305.       'gamesession_id' => '1490179510370-1970-Z4HTMATFOLJGB',
  306.       'key' => 'e25ef69e7ed4d59e7e8de7d59dce47bd65fd8e80',
  307.   ]
  308.  I send get "/platform/web/game/Pantaloo...",{"action":"debit","amount":0...}
  309.   [Request] GET /platform/web/game/Pantaloo/events/provider-request?action=debit&amount=0.4&provider=ne&round_id=1508134178&transaction_id=150813325&gameplay_final=1&callerId=boss&callerPassword=05b1f356646c24bf1765f6f1b65aea3bde7247e1&callerPrefix=bs&username=achernyi&session_id=authSessionId&remote_id=1&game_id=3072&gamesession_id=1490179510370-1970-Z4HTMATFOLJGB&key=e25ef69e7ed4d59e7e8de7d59dce47bd65fd8e80
  310.   [Request Headers] []
  311.   [yii\filters\RateLimiter::beforeAction] 'Rate limit skipped: user not logged in.'
  312.   [yii\filters\RateLimiter::beforeAction] 'Rate limit skipped: user not logged in.'
  313.   [application] 'sessionActions is closed: 1'
  314.   [Page] /platform/web/game/Pantaloo/events/provider-request?action=debit&amount=0.4&provider=ne&round_id=1508134178&transaction_id=150813325&gameplay_final=1&callerId=boss&callerPassword=05b1f356646c24bf1765f6f1b65aea3bde7247e1&callerPrefix=bs&username=achernyi&session_id=authSessionId&remote_id=1&game_id=3072&gamesession_id=1490179510370-1970-Z4HTMATFOLJGB&key=e25ef69e7ed4d59e7e8de7d59dce47bd65fd8e80
  315.   [Response] 200
  316.   [Request Cookies] {"affiliate":"5ab849b04a3fc1df74784bb67ca8ecb18bd2df8546b0a821e8f8a22b1902efd5a:2:{i:0;s:9:"affiliate";i:1;s:406:"{"action":"debit","amount":"0.4","provider":"ne","round_id":"1508134178","transaction_id":"150813897","gameplay_final":"1","callerId":"boss","callerPassword":"05b1f356646c24bf1765f6f1b65aea3bde7247e1","callerPrefix":"bs","username":"achernyi","session_id":"authSessionId","remote_id":"1","game_id":"3072","gamesession_id":"1490179510370-1970-Z4HTMATFOLJGB","key":"9420a3dea18942739cf17eef80f53e1e521f6424"}";}"}
  317.   [Response Headers] {"access-control-allow-credentials":["true"],"access-control-expose-headers":["access-token, expiry, token-type, uid, client, Content-Length, If-Modified-Since, X-Requested-With, Warning, Content-Type, Content-Range, Content-Disposition, Content-Description"],"content-type":["application/json; charset=UTF-8"]}
  318.   [Response] {"status":200,"balance":"296.00","transactionId":"150813325","dubl":false}
  319.  I can see response is json
  320.  I can see response code is 200
  321.  I see response contains json {"status":200,"balance":"296.00"}
  322.  PASSED 
  323.  
  324. ------------------------------------------------------------------------------
  325.  
  326.  
  327. Time: 4.88 seconds, Memory: 41.50MB
  328.  
  329. OK (1 test, 40 assertions)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement