mirror of
https://github.com/fluent/fluentd-ui.git
synced 2026-05-05 19:06:12 +02:00
Add system test for filter_stdout and filter_parser
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
This commit is contained in:
parent
f66929bf5b
commit
d346f22c6f
13
test/system/fluentd/setting/filter_parser_test.rb
Normal file
13
test/system/fluentd/setting/filter_parser_test.rb
Normal file
@ -0,0 +1,13 @@
|
||||
require "application_system_test_case"
|
||||
|
||||
class FilterParserTest < ApplicationSystemTestCase
|
||||
include ConfigurableDaemonSettings
|
||||
|
||||
setup do
|
||||
login_with(FactoryBot.build(:user))
|
||||
@type = "filter_parser"
|
||||
@form_name = "key_name"
|
||||
@form_value = "message"
|
||||
@daemon = stub_daemon
|
||||
end
|
||||
end
|
||||
13
test/system/fluentd/setting/filter_stdout_test.rb
Normal file
13
test/system/fluentd/setting/filter_stdout_test.rb
Normal file
@ -0,0 +1,13 @@
|
||||
require "application_system_test_case"
|
||||
|
||||
class FilterStdoutTest < ApplicationSystemTestCase
|
||||
include ConfigurableDaemonSettings
|
||||
|
||||
setup do
|
||||
login_with(FactoryBot.build(:user))
|
||||
@type = "filter_stdout"
|
||||
@form_name = "pattern"
|
||||
@form_value = "stdout.**"
|
||||
@daemon = stub_daemon
|
||||
end
|
||||
end
|
||||
Loading…
x
Reference in New Issue
Block a user