simplify naming in unit tests for easier local cleaning

This commit is contained in:
Spine
2026-05-27 23:29:05 +02:00
parent eef6284785
commit 5cdd4c8f0b
13 changed files with 49 additions and 51 deletions
+3 -3
View File
@@ -45,7 +45,7 @@ class RequestTest extends TestCase {
$user = $this->userList['user'];
$manager = new Manager\Request();
$title = 'phpunit ' . randomString(6) . ' Test Sessions (bonus VIP)';
$title = 'phpunit create ' . randomString(6);
$image = 'https://example.com/req.jpg';
$year = 2002;
$this->request = Helper::makeRequestMusic($admin, $title, image: $image, year: $year);
@@ -789,9 +789,9 @@ class RequestTest extends TestCase {
public function testRequestFTS(): void {
$user = $this->userList['admin'];
$title = 'phpunit reqfts ' . randomString();
$title = 'phpunit reqfts ' . randomString(6);
$this->request = Helper::makeRequestMusic($user, $title);
$artistName = 'artist ftsreq ' . randomString();
$artistName = 'phpunit ftsreq ' . randomString(6);
$this->request->artistRole()->set([ARTIST_MAIN => [$artistName]], $user);
$this->assertEquals(