Skip to content

Commit 3fddfd8

Browse files
committed
ToSquash: Fix unit tests
1 parent 55f9845 commit 3fddfd8

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

pkg/cvo/availableupdates_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1070,7 +1070,7 @@ func Test_evaluateAlertConditions(t *testing.T) {
10701070
{
10711071
Name: "PodDisruptionBudgetAtLimit",
10721072
Message: "summary.",
1073-
URL: "todo-url",
1073+
URL: "https://console.com/monitoring/alertrules/id",
10741074
MatchingRules: []configv1.ClusterCondition{
10751075
{
10761076
Type: "PromQL",
@@ -1090,7 +1090,7 @@ func Test_evaluateAlertConditions(t *testing.T) {
10901090
{
10911091
Name: "PodDisruptionBudgetLimit",
10921092
Message: "summary.",
1093-
URL: "todo-url",
1093+
URL: "https://console.com/monitoring/alertrules/id",
10941094
MatchingRules: []configv1.ClusterCondition{
10951095
{
10961096
Type: "PromQL",
@@ -1120,7 +1120,7 @@ func Test_evaluateAlertConditions(t *testing.T) {
11201120
{
11211121
Name: "TestAlert",
11221122
Message: "Test summary.",
1123-
URL: "todo-url",
1123+
URL: "https://console.com/monitoring/alertrules/id",
11241124
MatchingRules: []configv1.ClusterCondition{
11251125
{
11261126
Type: "PromQL",

pkg/cvo/status_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1136,7 +1136,7 @@ func Test_conditionalUpdateRisks(t *testing.T) {
11361136
{
11371137
Name: "PodDisruptionBudgetAtLimit",
11381138
Message: "summary.",
1139-
URL: "todo-url",
1139+
URL: "https://console.com/monitoring/alertrules/id",
11401140
MatchingRules: []configv1.ClusterCondition{
11411141
{
11421142
Type: "PromQL",
@@ -1158,7 +1158,7 @@ func Test_conditionalUpdateRisks(t *testing.T) {
11581158
{
11591159
Name: "PodDisruptionBudgetAtLimit",
11601160
Message: "summary.",
1161-
URL: "todo-url",
1161+
URL: "https://console.com/monitoring/alertrules/id",
11621162
MatchingRules: []configv1.ClusterCondition{
11631163
{
11641164
Type: "PromQL",

0 commit comments

Comments
 (0)