Exemplo n.º 1
0
        public async Task TestRunScript()
        {
            var targetLayout = "cake_utility";
            var targetScript = "run_PSoS";
            var targetParam  = "5001";

            Login();

            // need the layout not for setting the globals but for the find request to confirm that they were set
            fms.SetLayout(targetLayout);

            var error = await fms.RunScript(targetScript, targetParam);

            Assert.True(error == 0);
        }