Commit fc7dc93
committed
Update WooConstants with an un-scaped testing URL
`asURL()` is a private extension located on WooConstants, if we use it directle over a testing URL in the Unit Test, then the AlamoFire one will be called instead, which doesn’t deal with un-scaped strings and would keep crashing.1 parent 0e4a799 commit fc7dc93
File tree
2 files changed
+7
-3
lines changed- WooCommerce
- Classes/System
- WooCommerceTests/System
2 files changed
+7
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
259 | 263 | | |
260 | 264 | | |
261 | 265 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
0 commit comments