Skip to content

Commit

Permalink
updates expected test files
Browse files Browse the repository at this point in the history
  • Loading branch information
sgiehl committed May 6, 2021
1 parent be9ba4f commit f3c771c
Show file tree
Hide file tree
Showing 18 changed files with 626 additions and 1 deletion.
1 change: 1 addition & 0 deletions lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@
"MultiSitesSummary": "All Websites",
"Name": "Name",
"NbActions": "Number of Actions",
"NbPageviews": "Number of Pageviews",
"NbInteractions": "Number of Interactions",
"NbSearches": "Number of Internal Searches",
"NeedMoreHelp": "Need more help?",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="utf-8" ?>
<result>
<row>1</row>
<row>2</row>
<row>3</row>
<row>4</row>
<row>5</row>
<row>6</row>
<row>7</row>
<row>8</row>
<row>9</row>
<row>10</row>
<row>11</row>
<row>12</row>
<row>13</row>
<row>14</row>
<row>15</row>
<row>16</row>
<row>17</row>
<row>18</row>
<row>19</row>
<row>20</row>
<row>21</row>
<row>22</row>
<row>23</row>
<row>24</row>
<row>25</row>
<row>26</row>
<row>27</row>
<row>28</row>
<row>29</row>
<row>30</row>
</result>
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8" ?>
<result>
<nb_visits>26</nb_visits>
<nb_actions>50</nb_actions>
<nb_visits_converted>26</nb_visits_converted>
<bounce_count>18</bounce_count>
<sum_visit_length>12980</sum_visit_length>
<max_actions>4</max_actions>
<bounce_rate>69%</bounce_rate>
<nb_actions_per_visit>1.9</nb_actions_per_visit>
<avg_time_on_site>499</avg_time_on_site>
</result>
2 changes: 1 addition & 1 deletion plugins/Actions/Columns/VisitTotalPageViews.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class VisitTotalPageViews extends VisitDimension
protected $columnType = 'MEDIUMINT UNSIGNED DEFAULT 0';
protected $type = self::TYPE_NUMBER;
protected $segmentName = 'pageviews';
protected $nameSingular = 'General_ColumnPageviews';
protected $nameSingular = 'General_NbPageviews';
protected $acceptValues = 'Any positive integer';

public function __construct()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,12 @@
<name>Number of Internal Searches</name>
<segment>searches</segment>
</row>
<row>
<type>metric</type>
<category>Visitors</category>
<name>Number of Pageviews</name>
<segment>pageviews</segment>
</row>
<row>
<type>metric</type>
<category>Visitors</category>
Expand Down
Loading

0 comments on commit f3c771c

Please sign in to comment.