mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-12-31 22:41:23 +00:00
apply more cs rules for php-cs
This commit is contained in:
@@ -22,6 +22,7 @@ use Symfony\Component\HttpClient\Response\MockResponse;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @coversNothing
|
||||
*/
|
||||
class MSUserAbsenceReaderTest extends TestCase
|
||||
@@ -55,7 +56,7 @@ class MSUserAbsenceReaderTest extends TestCase
|
||||
|
||||
$absenceReader = new MSUserAbsenceReader($client, $mapUser->reveal(), $clock);
|
||||
|
||||
self::assertNull($absenceReader->isUserAbsent($user), "when no user found, absence should be null");
|
||||
self::assertNull($absenceReader->isUserAbsent($user), 'when no user found, absence should be null');
|
||||
}
|
||||
|
||||
public function provideDataTestUserAbsence(): iterable
|
||||
@@ -81,7 +82,7 @@ class MSUserAbsenceReaderTest extends TestCase
|
||||
}
|
||||
JSON,
|
||||
false,
|
||||
"User is present"
|
||||
'User is present',
|
||||
];
|
||||
|
||||
yield [
|
||||
@@ -103,7 +104,7 @@ class MSUserAbsenceReaderTest extends TestCase
|
||||
}
|
||||
JSON,
|
||||
true,
|
||||
'User is absent with absence scheduled, we are within this period'
|
||||
'User is absent with absence scheduled, we are within this period',
|
||||
];
|
||||
|
||||
yield [
|
||||
@@ -125,7 +126,7 @@ class MSUserAbsenceReaderTest extends TestCase
|
||||
}
|
||||
JSON,
|
||||
false,
|
||||
'User is present: absence is scheduled for later'
|
||||
'User is present: absence is scheduled for later',
|
||||
];
|
||||
|
||||
yield [
|
||||
@@ -147,7 +148,7 @@ class MSUserAbsenceReaderTest extends TestCase
|
||||
}
|
||||
JSON,
|
||||
false,
|
||||
'User is present: absence is past'
|
||||
'User is present: absence is past',
|
||||
];
|
||||
|
||||
yield [
|
||||
@@ -169,7 +170,7 @@ class MSUserAbsenceReaderTest extends TestCase
|
||||
}
|
||||
JSON,
|
||||
true,
|
||||
"User is absent: absence is always enabled"
|
||||
'User is absent: absence is always enabled',
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user