@@ -23,6 +23,7 @@ describe('the price floors module', function () {
23
23
let clock ;
24
24
const basicFloorData = {
25
25
modelVersion : 'basic model' ,
26
+ modelTimestamp : 1606772895 ,
26
27
currency : 'USD' ,
27
28
schema : {
28
29
delimiter : '|' ,
@@ -184,6 +185,7 @@ describe('the price floors module', function () {
184
185
let resultingData = getFloorsDataForAuction ( inputFloorData , 'test_div_1' ) ;
185
186
expect ( resultingData ) . to . deep . equal ( {
186
187
modelVersion : 'basic model' ,
188
+ modelTimestamp : 1606772895 ,
187
189
currency : 'USD' ,
188
190
schema : {
189
191
delimiter : '|' ,
@@ -201,6 +203,7 @@ describe('the price floors module', function () {
201
203
resultingData = getFloorsDataForAuction ( inputFloorData , 'this_is_a_div' ) ;
202
204
expect ( resultingData ) . to . deep . equal ( {
203
205
modelVersion : 'basic model' ,
206
+ modelTimestamp : 1606772895 ,
204
207
currency : 'USD' ,
205
208
schema : {
206
209
delimiter : '^' ,
@@ -429,6 +432,7 @@ describe('the price floors module', function () {
429
432
skipped : true ,
430
433
floorMin : undefined ,
431
434
modelVersion : undefined ,
435
+ modelTimestamp : undefined ,
432
436
location : 'noData' ,
433
437
skipRate : 0 ,
434
438
fetchStatus : undefined ,
@@ -463,6 +467,7 @@ describe('the price floors module', function () {
463
467
skipped : false ,
464
468
floorMin : undefined ,
465
469
modelVersion : 'adUnit Model Version' ,
470
+ modelTimestamp : 1606772895 ,
466
471
location : 'adUnit' ,
467
472
skipRate : 0 ,
468
473
fetchStatus : undefined ,
@@ -496,6 +501,7 @@ describe('the price floors module', function () {
496
501
validateBidRequests ( true , {
497
502
skipped : false ,
498
503
modelVersion : 'adUnit Model Version' ,
504
+ modelTimestamp : 1606772895 ,
499
505
location : 'adUnit' ,
500
506
skipRate : 0 ,
501
507
floorMin : 7 ,
@@ -510,6 +516,7 @@ describe('the price floors module', function () {
510
516
skipped : false ,
511
517
floorMin : undefined ,
512
518
modelVersion : 'basic model' ,
519
+ modelTimestamp : 1606772895 ,
513
520
location : 'setConfig' ,
514
521
skipRate : 0 ,
515
522
fetchStatus : undefined ,
@@ -531,6 +538,7 @@ describe('the price floors module', function () {
531
538
skipped : false ,
532
539
floorMin : undefined ,
533
540
modelVersion : 'basic model' ,
541
+ modelTimestamp : 1606772895 ,
534
542
location : 'setConfig' ,
535
543
skipRate : 0 ,
536
544
fetchStatus : undefined ,
@@ -545,6 +553,7 @@ describe('the price floors module', function () {
545
553
skipped : false ,
546
554
floorMin : undefined ,
547
555
modelVersion : 'basic model' ,
556
+ modelTimestamp : 1606772895 ,
548
557
location : 'setConfig' ,
549
558
skipRate : 0 ,
550
559
fetchStatus : undefined ,
@@ -559,6 +568,7 @@ describe('the price floors module', function () {
559
568
skipped : false ,
560
569
floorMin : undefined ,
561
570
modelVersion : 'basic model' ,
571
+ modelTimestamp : 1606772895 ,
562
572
location : 'setConfig' ,
563
573
skipRate : 0 ,
564
574
fetchStatus : undefined ,
@@ -582,6 +592,7 @@ describe('the price floors module', function () {
582
592
skipped : false ,
583
593
floorMin : undefined ,
584
594
modelVersion : 'basic model' ,
595
+ modelTimestamp : 1606772895 ,
585
596
location : 'setConfig' ,
586
597
skipRate : 50 ,
587
598
fetchStatus : undefined ,
@@ -596,6 +607,7 @@ describe('the price floors module', function () {
596
607
skipped : false ,
597
608
floorMin : undefined ,
598
609
modelVersion : 'basic model' ,
610
+ modelTimestamp : 1606772895 ,
599
611
location : 'setConfig' ,
600
612
skipRate : 10 ,
601
613
fetchStatus : undefined ,
@@ -610,6 +622,7 @@ describe('the price floors module', function () {
610
622
skipped : false ,
611
623
floorMin : undefined ,
612
624
modelVersion : 'basic model' ,
625
+ modelTimestamp : 1606772895 ,
613
626
location : 'setConfig' ,
614
627
skipRate : 0 ,
615
628
fetchStatus : undefined ,
@@ -674,6 +687,7 @@ describe('the price floors module', function () {
674
687
skipped : false ,
675
688
floorMin : undefined ,
676
689
modelVersion : 'model-1' ,
690
+ modelTimestamp : undefined ,
677
691
location : 'setConfig' ,
678
692
skipRate : 0 ,
679
693
fetchStatus : undefined ,
@@ -687,6 +701,7 @@ describe('the price floors module', function () {
687
701
skipped : false ,
688
702
floorMin : undefined ,
689
703
modelVersion : 'model-2' ,
704
+ modelTimestamp : undefined ,
690
705
location : 'setConfig' ,
691
706
skipRate : 0 ,
692
707
fetchStatus : undefined ,
@@ -700,6 +715,7 @@ describe('the price floors module', function () {
700
715
skipped : false ,
701
716
floorMin : undefined ,
702
717
modelVersion : 'model-3' ,
718
+ modelTimestamp : undefined ,
703
719
location : 'setConfig' ,
704
720
skipRate : 0 ,
705
721
fetchStatus : undefined ,
@@ -729,6 +745,7 @@ describe('the price floors module', function () {
729
745
skipped : false ,
730
746
floorMin : undefined ,
731
747
modelVersion : 'basic model' ,
748
+ modelTimestamp : 1606772895 ,
732
749
location : 'setConfig' ,
733
750
skipRate : 0 ,
734
751
fetchStatus : undefined ,
@@ -808,6 +825,7 @@ describe('the price floors module', function () {
808
825
skipped : false ,
809
826
floorMin : undefined ,
810
827
modelVersion : 'basic model' ,
828
+ modelTimestamp : 1606772895 ,
811
829
location : 'setConfig' ,
812
830
skipRate : 0 ,
813
831
fetchStatus : 'timeout' ,
@@ -846,6 +864,7 @@ describe('the price floors module', function () {
846
864
skipped : false ,
847
865
floorMin : undefined ,
848
866
modelVersion : 'fetch model name' ,
867
+ modelTimestamp : 1606772895 ,
849
868
location : 'fetch' ,
850
869
skipRate : 0 ,
851
870
fetchStatus : 'success' ,
@@ -883,6 +902,7 @@ describe('the price floors module', function () {
883
902
skipped : false ,
884
903
floorMin : undefined ,
885
904
modelVersion : 'fetch model name' ,
905
+ modelTimestamp : 1606772895 ,
886
906
location : 'fetch' ,
887
907
skipRate : 0 ,
888
908
fetchStatus : 'success' ,
@@ -923,6 +943,7 @@ describe('the price floors module', function () {
923
943
skipped : false ,
924
944
floorMin : undefined ,
925
945
modelVersion : 'fetch model name' ,
946
+ modelTimestamp : 1606772895 ,
926
947
location : 'fetch' ,
927
948
skipRate : 95 ,
928
949
fetchStatus : 'success' ,
@@ -945,6 +966,7 @@ describe('the price floors module', function () {
945
966
skipped : false ,
946
967
floorMin : undefined ,
947
968
modelVersion : 'basic model' ,
969
+ modelTimestamp : 1606772895 ,
948
970
location : 'setConfig' ,
949
971
skipRate : 0 ,
950
972
fetchStatus : 'error' ,
@@ -969,6 +991,7 @@ describe('the price floors module', function () {
969
991
skipped : false ,
970
992
floorMin : undefined ,
971
993
modelVersion : 'basic model' ,
994
+ modelTimestamp : 1606772895 ,
972
995
location : 'setConfig' ,
973
996
skipRate : 0 ,
974
997
fetchStatus : 'success' ,
0 commit comments