mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-19 21:03:11 -07:00
use another port
This commit is contained in:
parent
db471847aa
commit
47b33ec2c6
3 changed files with 6 additions and 6 deletions
4
.github/workflows/action-ci.yml
vendored
4
.github/workflows/action-ci.yml
vendored
|
@ -160,9 +160,9 @@ jobs:
|
||||||
shell: powershell
|
shell: powershell
|
||||||
name: Install WindowsApplicationDriver
|
name: Install WindowsApplicationDriver
|
||||||
- run: |
|
- run: |
|
||||||
netsh http add urlacl url="http://localhost:80/calctesting/file" user=everyone
|
netsh http add urlacl url="http://localhost:4724/calctesting/file" user=everyone
|
||||||
shell: powershell
|
shell: powershell
|
||||||
name: enable local urls
|
name: Enable local urls
|
||||||
- uses: ilammy/msvc-dev-cmd@v1 # this is a workaround because microsoft/vstest-action is broken.
|
- uses: ilammy/msvc-dev-cmd@v1 # this is a workaround because microsoft/vstest-action is broken.
|
||||||
name: Setup dev tools
|
name: Setup dev tools
|
||||||
- run: |
|
- run: |
|
||||||
|
|
|
@ -7,7 +7,7 @@ namespace CalculatorApp
|
||||||
{
|
{
|
||||||
namespace DataLoaders
|
namespace DataLoaders
|
||||||
{
|
{
|
||||||
static constexpr auto sc_MetadataUriLocalizeFor = L"http://localhost/calctesting/file/?id=currency+static+data&localizeFor=";
|
static constexpr auto sc_MetadataUriLocalizeFor = L"http://localhost:4724/calctesting/file/?id=currency+static+data&localizeFor=";
|
||||||
static constexpr auto sc_RatiosUriRelativeTo = L"http://localhost/calctesting/file/?id=currency+converter+data&localCurrency=";
|
static constexpr auto sc_RatiosUriRelativeTo = L"http://localhost:4724/calctesting/file/?id=currency+converter+data&localCurrency=";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,8 +16,8 @@ namespace CalculatorUITestFramework
|
||||||
Prefixes =
|
Prefixes =
|
||||||
{
|
{
|
||||||
// to trust below URL on your dev machine, run below command in cmd as admin
|
// to trust below URL on your dev machine, run below command in cmd as admin
|
||||||
// netsh http add urlacl url="http://localhost:80/calctesting/file" user=everyone
|
// netsh http add urlacl url="http://localhost:4724/calctesting/file" user=everyone
|
||||||
"http://localhost/calctesting/file/",
|
"http://localhost:4724/calctesting/file/",
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
_listener.Start();
|
_listener.Start();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue