Skip to content

Commit f53acfa

Browse files
committed
test: Rename data providers to match the name of their tests
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
1 parent 5f4e1f8 commit f53acfa

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/lib/Collaboration/Collaborators/MailPluginTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public function instantiatePlugin() {
8686
}
8787

8888
/**
89-
* @dataProvider dataGetEmail
89+
* @dataProvider dataSearch
9090
*
9191
* @param string $searchTerm
9292
* @param array $contacts
@@ -136,7 +136,7 @@ function ($appName, $key, $default) use ($shareeEnumeration) {
136136
$this->assertSame($expectedMoreResults, $moreResults);
137137
}
138138

139-
public function dataGetEmail() {
139+
public function dataSearch() {
140140
return [
141141
// data set 0
142142
['test', [], true, ['emails' => [], 'exact' => ['emails' => []]], false, false, false],
@@ -570,7 +570,7 @@ public function dataGetEmail() {
570570
}
571571

572572
/**
573-
* @dataProvider dataGetEmailGroupsOnly
573+
* @dataProvider dataSearchGroupsOnly
574574
*
575575
* @param string $searchTerm
576576
* @param array $contacts
@@ -639,7 +639,7 @@ function ($appName, $key, $default) {
639639
$this->assertSame($expectedMoreResults, $moreResults);
640640
}
641641

642-
public function dataGetEmailGroupsOnly() {
642+
public function dataSearchGroupsOnly() {
643643
return [
644644
// The user `User` can share with the current user
645645
[

0 commit comments

Comments
 (0)