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

feat/partner-search #45

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

feat/partner-search #45

wants to merge 1 commit into from

Conversation

AlexT-lv
Copy link
Collaborator

@AlexT-lv AlexT-lv commented Dec 2, 2019

No description provided.

@@ -32,4 +32,17 @@ public function getOne(int $id)
{
return $this->repo->findOneBy(['id' => $id, 'isActive' => true]) ?: [];
}

public function search(string $key)
Copy link
Contributor

Choose a reason for hiding this comment

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

type ton retour

@@ -89,4 +89,11 @@ public function testOnePartnerReturnNull()

$this->assertSame([], $this->init()->getOne($id));
}

public function testSearch()
Copy link
Contributor

Choose a reason for hiding this comment

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

idem

{
$actual = $this->init()->search('Xavier');

dd($actual);
Copy link
Contributor

Choose a reason for hiding this comment

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

retire le dd

@holoflins
Copy link
Contributor

manque les tests

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