mirror of
https://github.com/shlinkio/shlink.git
synced 2025-02-25 18:45:27 -06:00
Fixed performance issues on list tags endpoint when requesting it with stats
This commit is contained in:
@@ -54,7 +54,7 @@ class TagRepositoryTest extends DatabaseTestCase
|
||||
|
||||
/**
|
||||
* @test
|
||||
* @dataProvider provideFilterings
|
||||
* @dataProvider provideFilters
|
||||
*/
|
||||
public function properTagsInfoIsReturned(?TagsListFiltering $filtering, callable $asserts): void
|
||||
{
|
||||
@@ -84,7 +84,7 @@ class TagRepositoryTest extends DatabaseTestCase
|
||||
$asserts($result, $names);
|
||||
}
|
||||
|
||||
public function provideFilterings(): iterable
|
||||
public function provideFilters(): iterable
|
||||
{
|
||||
$noFiltersAsserts = static function (array $result, array $tagNames): void {
|
||||
/** @var TagInfo[] $result */
|
||||
|
||||
Reference in New Issue
Block a user