mirror of
https://github.com/we-promise/sure.git
synced 2026-04-18 19:44:09 +00:00
Feature/yahoo finance (#123)
* Implement Yahoo Finance * Added tests * Updated hosting controller to check for managed app_mode instead of env_override * Suggestions from CodeRabbit and Fixes on tests * Remove Css changes * Fix yahoo finance impl and i18n * Updated view to use healthy method * remove usage * Updated env example * keep usage on class just to keep same format * Ci test * Remove some useless validations * Remove logs * Linter fixes * Broke this in my conflict merge * Wrong indentation level --------- Signed-off-by: Juan José Mata <juanjo.mata@gmail.com> Co-authored-by: Juan José Mata <juanjo.mata@gmail.com>
This commit is contained in:
@@ -39,6 +39,7 @@ class SettingsTest < ApplicationSystemTestCase
|
||||
test "can update self hosting settings" do
|
||||
Rails.application.config.app_mode.stubs(:self_hosted?).returns(true)
|
||||
Provider::Registry.stubs(:get_provider).with(:twelve_data).returns(nil)
|
||||
Provider::Registry.stubs(:get_provider).with(:yahoo_finance).returns(nil)
|
||||
open_settings_from_sidebar
|
||||
assert_selector "li", text: "Self-Hosting"
|
||||
click_link "Self-Hosting"
|
||||
|
||||
Reference in New Issue
Block a user