From f65d2df7cf9868024af6762746970da9c0cc0a6a Mon Sep 17 00:00:00 2001 From: Aaron Yarborough Date: Fri, 10 Feb 2017 15:26:36 +0000 Subject: [PATCH] Fixed issues with script manager --- .../LoginManagers/LloydsLoginManager.cs | 9 --------- BankingBot/BankingBot.csproj | 4 +++- BankingBot/ScriptManagement/ScriptBundles.cs | 12 +++--------- BankingBot/ScriptManagement/ScriptManager.cs | 9 +++------ BankingBot/ScriptManagement/Scripts/test.js | 6 +++++- 5 files changed, 14 insertions(+), 26 deletions(-) diff --git a/BankingBot/ActionManagers/LoginManagers/LloydsLoginManager.cs b/BankingBot/ActionManagers/LoginManagers/LloydsLoginManager.cs index ffcba9b..13ccd1e 100644 --- a/BankingBot/ActionManagers/LoginManagers/LloydsLoginManager.cs +++ b/BankingBot/ActionManagers/LoginManagers/LloydsLoginManager.cs @@ -37,15 +37,6 @@ namespace BankingBot.ActionManagers.LoginManagers var response = new Response(); var lloydsCreds = (LloydsLoginCredentials)credentials; - var data = new Dictionary - { - { "name", "aaron" }, - { "age", "12" }, - { "isOldEnough", "true" } - }; - - _scriptManager.Execute("scripts/test.js", data, ScriptBundles.Global); - try { LoginStep1(lloydsCreds); diff --git a/BankingBot/BankingBot.csproj b/BankingBot/BankingBot.csproj index fbdaff6..46dc715 100644 --- a/BankingBot/BankingBot.csproj +++ b/BankingBot/BankingBot.csproj @@ -83,7 +83,9 @@ PreserveNewest - + + PreserveNewest +