You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/UtilsTests/ValidatorLoggingTest.php
+4-4
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
<?php
2
2
/**
3
-
* Copyright 2019, Optimizely
3
+
* Copyright 2019-2020, Optimizely
4
4
*
5
5
* Licensed under the Apache License, Version 2.0 (the "License");
6
6
* you may not use this file except in compliance with the License.
@@ -80,7 +80,7 @@ public function testIsUserInExperimentEvaluatesAudienceIds()
80
80
[Logger::DEBUG, "Starting to evaluate audience \"11155\" with conditions: [\"and\",[\"or\",[\"or\",{\"name\":\"browser_type\",\"type\":\"custom_attribute\",\"value\":\"chrome\"}]]]."],
81
81
$this->collectedLogs
82
82
);
83
-
$this->assertContains([Logger::INFO, "Audience \"11155\" evaluated to UNKNOWN."], $this->collectedLogs);
83
+
$this->assertContains([Logger::DEBUG, "Audience \"11155\" evaluated to UNKNOWN."], $this->collectedLogs);
84
84
$this->assertContains([Logger::INFO, "Audiences for experiment \"test_experiment\" collectively evaluated to FALSE."], $this->collectedLogs);
85
85
}
86
86
@@ -105,15 +105,15 @@ public function testIsUserInExperimenEvaluatesAudienceConditions()
105
105
$this->collectedLogs
106
106
);
107
107
$this->assertContains(
108
-
[Logger::INFO, "Audience \"3468206642\" evaluated to FALSE."],
108
+
[Logger::DEBUG, "Audience \"3468206642\" evaluated to FALSE."],
109
109
$this->collectedLogs
110
110
);
111
111
$this->assertContains(
112
112
[Logger::DEBUG, "Starting to evaluate audience \"3988293898\" with conditions: [\"and\",[\"or\",[\"or\",{\"name\":\"house\",\"type\":\"custom_attribute\",\"match\":\"substring\",\"value\":\"Slytherin\"}]]]."],
113
113
$this->collectedLogs
114
114
);
115
115
$this->assertContains(
116
-
[Logger::INFO, "Audience \"3988293898\" evaluated to TRUE."],
116
+
[Logger::DEBUG, "Audience \"3988293898\" evaluated to TRUE."],
117
117
$this->collectedLogs
118
118
);
119
119
$this->assertContains([Logger::INFO, "Audiences for experiment \"audience_combinations_experiment\" collectively evaluated to TRUE."], $this->collectedLogs);
0 commit comments