@@ -94,7 +94,7 @@ public function instantiatePlugin() {
9494 * @param bool $expectedMoreResults
9595 * @param bool $validEmail
9696 */
97- #[\PHPUnit \Framework \Attributes \DataProvider('dataGetEmail ' )]
97+ #[\PHPUnit \Framework \Attributes \DataProvider('dataSearch ' )]
9898 public function testSearch ($ searchTerm , $ contacts , $ shareeEnumeration , $ expectedResult , $ expectedExactIdMatch , $ expectedMoreResults , $ validEmail ): void {
9999 $ this ->config ->expects ($ this ->any ())
100100 ->method ('getAppValue ' )
@@ -132,7 +132,7 @@ function ($appName, $key, $default) use ($shareeEnumeration) {
132132 $ this ->assertSame ($ expectedMoreResults , $ moreResults );
133133 }
134134
135- public static function dataGetEmail (): array {
135+ public static function dataSearch (): array {
136136 return [
137137 // data set 0
138138 ['test ' , [], true , ['emails ' => [], 'exact ' => ['emails ' => []]], false , false , false ],
@@ -575,7 +575,7 @@ public static function dataGetEmail(): array {
575575 * @param array $userToGroupMapping
576576 * @param bool $validEmail
577577 */
578- #[\PHPUnit \Framework \Attributes \DataProvider('dataGetEmailGroupsOnly ' )]
578+ #[\PHPUnit \Framework \Attributes \DataProvider('dataSearchGroupsOnly ' )]
579579 public function testSearchGroupsOnly ($ searchTerm , $ contacts , $ expectedResult , $ expectedExactIdMatch , $ expectedMoreResults , $ userToGroupMapping , $ validEmail ): void {
580580 $ this ->config ->expects ($ this ->any ())
581581 ->method ('getAppValue ' )
@@ -632,7 +632,7 @@ function ($appName, $key, $default) {
632632 $ this ->assertSame ($ expectedMoreResults , $ moreResults );
633633 }
634634
635- public static function dataGetEmailGroupsOnly (): array {
635+ public static function dataSearchGroupsOnly (): array {
636636 return [
637637 // The user `User` can share with the current user
638638 [
0 commit comments