mirror of
https://github.com/Graylog2/graylog2-server.git
synced 2026-03-13 09:32:21 +08:00
* Replace `CurrentUserStore` with `useCurrentUser` in `ConfigurationsPage`. * Remove no longer needed mocks in tests. * Removing not needed import. * Remove usage of `CurrentUserContext` in `EditEventDefinitionPage` and `ViewEventDefinitionPage`. * Replace usage of `CurrentUserStore` in `InputsPage`. * Replace usage of `CurrentUserStore` in `StreamEditPage`. * Replace usage of `CurrentUserStore` in `StreamsPage`. * Migrating component to TS. * Fixing linter hints. * Improving test * Fixing `StreamEditPage`. * Using hooks for `StreamEditPage` where possible. * Create const for default user in tests.
22 lines
777 B
TypeScript
22 lines
777 B
TypeScript
/*
|
|
* Copyright (C) 2020 Graylog, Inc.
|
|
*
|
|
* This program is free software: you can redistribute it and/or modify
|
|
* it under the terms of the Server Side Public License, version 1,
|
|
* as published by MongoDB, Inc.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* Server Side Public License for more details.
|
|
*
|
|
* You should have received a copy of the Server Side Public License
|
|
* along with this program. If not, see
|
|
* <http://www.mongodb.com/licensing/server-side-public-license>.
|
|
*/
|
|
|
|
import { adminUser } from 'fixtures/users';
|
|
|
|
export const defaultTimezone = 'Europe/Berlin';
|
|
export const defaultUser = adminUser;
|