Skip to content

Commit fbf3961

Browse files
committed
updates
1 parent 127e8db commit fbf3961

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/google_search_console/common/tests/action-tests/test-submit-url-for-indexing.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,12 @@ const testAction = { // TEST ONLY. Replace to export in real code
4545
},
4646
async run({ $ }) {
4747

48-
this.siteUrl = trimIfString(this.siteUrl);
48+
this.url = trimIfString(this.url);
4949

5050
// warnings accumulator
5151
let warnings = [];
5252

53-
const urlCheck = gsConsole.methods.checkIfUrlValid(this.siteUrl); // TEST ONLY. Replace to "this"
53+
const urlCheck = gsConsole.methods.checkIfUrlValid(this.url); // TEST ONLY. Replace to "this"
5454

5555
if (urlCheck.warnings) warnings.push(...urlCheck.warnings);
5656

@@ -67,7 +67,7 @@ const testAction = { // TEST ONLY. Replace to export in real code
6767
"Content-Type": "application/json",
6868
},
6969
data: {
70-
url: this.siteUrl,
70+
url: this.url,
7171
type: "URL_UPDATED",
7272
},
7373
});

0 commit comments

Comments
 (0)