Skip to content

[EUV2][HuuHV] Create UT for Ex3 to Ex7#33

Open
huuhv-0372 wants to merge 7 commits intosun-unit-test-training:masterfrom
huuhv-0372:huuhv_UT_homework
Open

[EUV2][HuuHV] Create UT for Ex3 to Ex7#33
huuhv-0372 wants to merge 7 commits intosun-unit-test-training:masterfrom
huuhv-0372:huuhv_UT_homework

Conversation

@huuhv-0372
Copy link
Copy Markdown

Purpose/Notes

Screenshot

image

Checklist (*)

  • Pull request has been self-reviewed
  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All CI builds passed successfully (all builds are green)

/**
* @dataProvider inputData
*/
public function testCalculate($time, $data)
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

$this->assertEquals([
'bill' => 'required|integer|min:0',
'has_watch' => 'nullable|boolean',
], $request->rules());
Copy link
Copy Markdown

Choose a reason for hiding this comment

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


function handleDiscountData()
{
/*return [
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

mấy cái comment này ko dùng thì xóa đi thôi a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants