Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimise test framework auto topup #120 #123

Merged
merged 6 commits into from
Apr 5, 2018

Conversation

OGKevin
Copy link
Contributor

@OGKevin OGKevin commented Apr 5, 2018

This PR closes/fixes the following issues:

@OGKevin OGKevin added this to the 0.13.5 milestone Apr 5, 2018
@OGKevin OGKevin self-assigned this Apr 5, 2018
@OGKevin OGKevin added this to To do in 1.0.0 - SDK via automation Apr 5, 2018
@OGKevin OGKevin force-pushed the optimise_test_framework_auto_topup_#120 branch from 88b5149 to 36529a3 Compare April 5, 2018 10:51
@OGKevin OGKevin moved this from To do to open PR in 1.0.0 - SDK Apr 5, 2018
Copy link
Contributor

@sandervdo sandervdo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

*/
const SPENDING_MONEY_AMOUNT = '500';
const SPENDING_MONEY_RECIPIENT = 'sugardaddy@bunq.com';
const SPENDING_MONEY_DESCRIPTION = 'sdk php test, thanks daddy <3 - OG';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why - OG? I'd suggest to keep it clean.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where's the fun in that? 😜

new Amount(self::PAYMENT_AMOUNT_IN_EUR, self::PAYMENT_CURRENCY),
$this->getPointerUserBravo(),
self::PAYMENT_DESCRIPTION
);

static::assertNotNull($response);
}

/**
* Test sending money to other monetaryAccount.
*
* This test has no assertion as of its testing to see if the code runs without errors.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test has no assertion as it is testing whether the code runs without errors.

@@ -82,12 +84,14 @@ public function testSendMoneyToOtherMonetaryAccount()
*
* @depends testSendMoneyToOtherMonetaryAccount
*/
public function testSendMessageToPayment()
public function testSendMessageToPayment(BunqResponseInt $paymentId)
{
$chatId = PaymentChat::create(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fits on one line? On purpose formatted like this?

@OGKevin OGKevin force-pushed the optimise_test_framework_auto_topup_#120 branch from 59b2aff to 8f959d2 Compare April 5, 2018 15:38
@OGKevin
Copy link
Contributor Author

OGKevin commented Apr 5, 2018

@sandervdo please 👀

@OGKevin OGKevin merged commit a188cf4 into develop Apr 5, 2018
1.0.0 - SDK automation moved this from open PR to merged Apr 5, 2018
@OGKevin OGKevin deleted the optimise_test_framework_auto_topup_#120 branch April 5, 2018 17:50
@OGKevin
Copy link
Contributor Author

OGKevin commented Apr 5, 2018

@andrederoos

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
1.0.0 - SDK
  
merged
Development

Successfully merging this pull request may close these issues.

Fix/Optimise test framework for CI.
3 participants