@@ -641,7 +641,7 @@ class ProfileSpec extends BaseSpec {
641641 assert response. ext?. warnings[ErrorType . PREBID ]* . code == [999 ]
642642 assert response. ext?. warnings[ErrorType . PREBID ]* . message == [LIMIT_ERROR_MESSAGE ]
643643
644- and : " Response should contain error"
644+ and : " Response shouldn't contain error"
645645 assert ! response. ext?. errors
646646
647647 and : " Missing metric should increments"
@@ -811,7 +811,7 @@ class ProfileSpec extends BaseSpec {
811811 then : " PBS should emit proper warning"
812812 assert response. ext?. warnings[ErrorType . PREBID ]* . message. contains(LIMIT_ERROR_MESSAGE )
813813
814- and : " Response should contain error"
814+ and : " Response shouldn't contain error"
815815 assert ! response. ext?. errors
816816
817817 and : " Missing metric should increments"
@@ -1194,7 +1194,7 @@ class ProfileSpec extends BaseSpec {
11941194 assert response. ext?. warnings[ErrorType . PREBID ]* . code == [999 ]
11951195 assert response. ext?. warnings[ErrorType . PREBID ]* . message == [LIMIT_ERROR_MESSAGE ]
11961196
1197- and : " Response should contain error"
1197+ and : " Response shouldn't contain error"
11981198 assert ! response. ext?. errors
11991199
12001200 and : " PBS log should contain error"
@@ -1238,7 +1238,7 @@ class ProfileSpec extends BaseSpec {
12381238 assert response. ext?. warnings[ErrorType . PREBID ]* . code == [999 ]
12391239 assert response. ext?. warnings[ErrorType . PREBID ]* . message == [NO_PROFILE_MESSAGE . formatted(requestProfile. id)]
12401240
1241- and : " Response should contain error"
1241+ and : " Response shouldn't contain error"
12421242 assert ! response. ext?. errors
12431243
12441244 and : " Missing metric should increments"
@@ -1292,7 +1292,7 @@ class ProfileSpec extends BaseSpec {
12921292 assert response. ext?. warnings[ErrorType . PREBID ]* . code == [999 ]
12931293 assert response. ext?. warnings[ErrorType . PREBID ]* . message == [NO_PROFILE_MESSAGE . formatted(requestProfile. id)]
12941294
1295- and : " Response should contain error"
1295+ and : " Response shouldn't contain error"
12961296 assert ! response. ext?. errors
12971297
12981298 and : " Missing metric should increments"
@@ -1341,7 +1341,7 @@ class ProfileSpec extends BaseSpec {
13411341 assert response. ext?. warnings[ErrorType . PREBID ]* . code == [999 ]
13421342 assert response. ext?. warnings[ErrorType . PREBID ]* . message == [NO_IMP_PROFILE_MESSAGE . formatted(invalidProfileId)]
13431343
1344- and : " Response should contain error"
1344+ and : " Response shouldn't contain error"
13451345 assert ! response. ext?. errors
13461346
13471347 and : " Missing metric should increments"
@@ -1373,7 +1373,7 @@ class ProfileSpec extends BaseSpec {
13731373 assert response. ext?. warnings[ErrorType . PREBID ]* . code == [999 ]
13741374 assert response. ext?. warnings[ErrorType . PREBID ]* . message == [NO_REQUEST_PROFILE_MESSAGE . formatted(invalidProfileId)]
13751375
1376- and : " Response should contain error"
1376+ and : " Response shouldn't contain error"
13771377 assert ! response. ext?. errors
13781378
13791379 and : " Missing metric should increments"
@@ -1421,7 +1421,7 @@ class ProfileSpec extends BaseSpec {
14211421 assert response. ext?. warnings[ErrorType . PREBID ]* . code == [999 ]
14221422 assert response. ext?. warnings[ErrorType . PREBID ]* . message == [NO_IMP_PROFILE_MESSAGE . formatted(invalidProfile. id)]
14231423
1424- and : " Response should contain error"
1424+ and : " Response shouldn't contain error"
14251425 assert ! response. ext?. errors
14261426
14271427 and : " Missing metric should increments"
@@ -1461,7 +1461,7 @@ class ProfileSpec extends BaseSpec {
14611461 assert response. ext?. warnings[ErrorType . PREBID ]* . code == [999 ]
14621462 assert response. ext?. warnings[ErrorType . PREBID ]* . message == [NO_REQUEST_PROFILE_MESSAGE . formatted(invalidProfileId)]
14631463
1464- and : " Response should contain error"
1464+ and : " Response shouldn't contain error"
14651465 assert ! response. ext?. errors
14661466
14671467 and : " Missing metric should increments"
@@ -1546,7 +1546,7 @@ class ProfileSpec extends BaseSpec {
15461546 assert response. ext?. warnings[ErrorType . PREBID ]* . code == [999 ]
15471547 assert response. ext?. warnings[ErrorType . PREBID ]* . message == [NO_REQUEST_PROFILE_MESSAGE . formatted(fileRequestProfileWithEmptyMerge. id)]
15481548
1549- and : " Response should contain error"
1549+ and : " Response shouldn't contain error"
15501550 assert ! response. ext?. errors
15511551
15521552 and : " Missing metric should increments"
@@ -1767,7 +1767,7 @@ class ProfileSpec extends BaseSpec {
17671767 assert response. ext?. warnings[ErrorType . PREBID ]* . code == [999 ]
17681768 assert response. ext?. warnings[ErrorType . PREBID ]* . message == [NO_PROFILE_MESSAGE . formatted(requestProfile. id)]
17691769
1770- and : " Response should contain error"
1770+ and : " Response shouldn't contain error"
17711771 assert ! response. ext?. errors
17721772
17731773 and : " Missing metric should increments"
@@ -1824,7 +1824,7 @@ class ProfileSpec extends BaseSpec {
18241824 assert response. ext?. warnings[ErrorType . PREBID ]* . code == [999 ]
18251825 assert response. ext?. warnings[ErrorType . PREBID ]* . message == [NO_PROFILE_MESSAGE . formatted(impProfile. id)]
18261826
1827- and : " Response should contain error"
1827+ and : " Response shouldn't contain error"
18281828 assert ! response. ext?. errors
18291829
18301830 and : " Missing metric should increments"
@@ -1860,7 +1860,7 @@ class ProfileSpec extends BaseSpec {
18601860 assert response. ext?. warnings[ErrorType . PREBID ]* . code == [999 ]
18611861 assert response. ext?. warnings[ErrorType . PREBID ]* . message == [NO_REQUEST_PROFILE_MESSAGE . formatted(requestProfile)]
18621862
1863- and : " Response should contain error"
1863+ and : " Response shouldn't contain error"
18641864 assert ! response. ext?. errors
18651865
18661866 and : " Missing metric should increments"
@@ -1923,7 +1923,7 @@ class ProfileSpec extends BaseSpec {
19231923 assert response. ext?. warnings[ErrorType . PREBID ]* . code == [999 ]
19241924 assert response. ext?. warnings[ErrorType . PREBID ]* . message == [NO_IMP_PROFILE_MESSAGE . formatted(impProfileId)]
19251925
1926- and : " Response should contain error"
1926+ and : " Response shouldn't contain error"
19271927 assert ! response. ext?. errors
19281928
19291929 and : " Missing metric should increments"
@@ -1995,7 +1995,10 @@ class ProfileSpec extends BaseSpec {
19951995 when : " PBS processes general get request"
19961996 def response = pbsWithStoredProfiles. sendGeneralGetRequest(generalGetRequest)
19971997
1998- then : " Response should contain error"
1998+ then : " PBS should emit proper warning"
1999+ assert response. ext?. warnings[ErrorType . PREBID ]* . message. contains(LIMIT_ERROR_MESSAGE )
2000+
2001+ and : " Response should contain error"
19992002 assert ! response. ext?. errors
20002003
20012004 and : " Missing metric should increments"
0 commit comments