change description of test case: load() now returns undefined if not logged-in
This commit is contained in:
@@ -4,7 +4,7 @@ import { ROUTE_NAMES } from '../../src/routes';
|
||||
import { baseData, mockEvent } from '../fixtures';
|
||||
|
||||
describe('+layout.server load(): Teste korrekte URL', () => {
|
||||
test('Werfe redirect zu /anmeldung wenn User nicht eingeloggt', async () => {
|
||||
test('Werfe keinen Redirect und gebe nichts zurück', async () => {
|
||||
const mockEvent = {
|
||||
locals: {
|
||||
user: null
|
||||
|
||||
Reference in New Issue
Block a user