Skip to content

Commit

Permalink
Adjust test after core changes (#91)
Browse files Browse the repository at this point in the history
* Updates expected test files

* Updates expected test files
  • Loading branch information
sgiehl authored Jul 2, 2024
1 parent ea2503a commit 2f39d89
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 9 deletions.
9 changes: 0 additions & 9 deletions tests/System/AutoSuggestAPITest.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,6 @@ public function getApiForTesting()

$xmlFieldsToRemove = [];

if (version_compare(Version::VERSION, '4.12.0-rc1', '<')) {
// those fields have been added to goal details
$xmlFieldsToRemove = [
'referrerType',
'referrerName',
'referrerKeyword',
];
}

$apiForTesting[] = [
'Live.getLastVisitsDetails',
[
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1045,6 +1045,9 @@
<items>1</items>


<referrerType>direct</referrerType>
<referrerName />
<referrerKeyword />
<itemDetails>
<row>
<itemSKU>ABCD1234</itemSKU>
Expand Down Expand Up @@ -2230,6 +2233,9 @@
<items>1</items>


<referrerType>direct</referrerType>
<referrerName />
<referrerKeyword />
<itemDetails>
<row>
<itemSKU>ABCD1234</itemSKU>
Expand Down Expand Up @@ -2470,6 +2476,9 @@
<items>1</items>


<referrerType>direct</referrerType>
<referrerName />
<referrerKeyword />
<itemDetails>
<row>
<itemSKU>ABCD1234</itemSKU>
Expand Down Expand Up @@ -5365,6 +5374,9 @@
<items>1</items>


<referrerType>direct</referrerType>
<referrerName />
<referrerKeyword />
<itemDetails>
<row>
<itemSKU>ABCD1234</itemSKU>
Expand Down Expand Up @@ -5632,6 +5644,9 @@
<items>1</items>


<referrerType>direct</referrerType>
<referrerName />
<referrerKeyword />
<itemDetails>
<row>
<itemSKU>ABCD1234</itemSKU>
Expand Down Expand Up @@ -5891,6 +5906,9 @@
<items>1</items>


<referrerType>direct</referrerType>
<referrerName />
<referrerKeyword />
<itemDetails>
<row>
<itemSKU>ABCD1234</itemSKU>
Expand Down Expand Up @@ -6158,6 +6176,9 @@
<items>1</items>


<referrerType>direct</referrerType>
<referrerName />
<referrerKeyword />
<itemDetails>
<row>
<itemSKU>ABCD1234</itemSKU>
Expand Down

0 comments on commit 2f39d89

Please sign in to comment.