File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
components/google_search_console/common/tests/action-tests Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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 } ) ;
You can’t perform that action at this time.
0 commit comments