Skip to content

Commit aa7a57d

Browse files
authored
Merge pull request #26 from tattersoftware/pipeline
Fix pipeline errors
2 parents 52dcd4c + 86bfb4d commit aa7a57d

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

src/Collectors/Alerts.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class Alerts extends BaseCollector
4646
*/
4747
protected array $alerts;
4848

49-
//--------------------------------------------------------------------
49+
// --------------------------------------------------------------------
5050

5151
/**
5252
* Preloads alerts so they are only gathered once.
@@ -56,7 +56,7 @@ public function __construct()
5656
$this->alerts = AlertsFilter::gather(config('Alerts'));
5757
}
5858

59-
//--------------------------------------------------------------------
59+
// --------------------------------------------------------------------
6060

6161
/**
6262
* Returns the data of this collector to be formatted in the toolbar
@@ -74,7 +74,7 @@ public function display(): string
7474
return $html;
7575
}
7676

77-
//--------------------------------------------------------------------
77+
// --------------------------------------------------------------------
7878

7979
/**
8080
* Gets the "badge" value for the button.
@@ -84,7 +84,7 @@ public function getBadgeValue(): int
8484
return count($this->alerts);
8585
}
8686

87-
//--------------------------------------------------------------------
87+
// --------------------------------------------------------------------
8888

8989
/**
9090
* Display the icon.

tests/FilterTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ public function testGather()
5151

5252
public function testFilter()
5353
{
54+
config('Alerts')->template = 'Tatter\Alerts\Views\Bootstrap4';
55+
5456
$expected = <<<'EOD'
5557
<html>
5658
<head>

0 commit comments

Comments
 (0)