Skip to content

Commit

Permalink
Code refactor
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Poyigi <[email protected]>
  • Loading branch information
sampoyigi committed Jul 19, 2024
1 parent 5d19ed0 commit 6aa3565
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions resources/views/system/_partials/updates/search.blade.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<div class="toolbar-search d-flex align-items-center px-3">
<div id="marketplace-search" class="form-group search-group has-feedback flex-grow-1 rounded shadow-sm">
<div id="marketplace-search" class="form-group search-group has-feedback flex-grow-1">
<input
type="text"
class="form-control search input-lg"
class="form-control shadow-sm search input-lg"
placeholder="{{ sprintf(lang('igniter::system.updates.text_search'), str_plural($itemType)) }}"
data-search-type="{{ $itemType }}"
data-search-action="{{ admin_url(str_plural($itemType).'/search') }}"
Expand Down
2 changes: 1 addition & 1 deletion tests/src/Admin/DashboardWidgets/ChartsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

expect($this->charts->vars['chartContext'])->toBe('reports')
->and($this->charts->vars['chartType'])->toBe('line')
->and($this->charts->vars['chartLabel'])->toBe('--')
->and($this->charts->vars['chartLabel'])->toBe('igniter::admin.dashboard.text_reports_chart')
->and($this->charts->vars['chartIcon'])->toBe('fa fa-bar-chart-o')
->and($this->charts->vars['chartData'])->toBeArray()->toHaveKey('datasets');
});
Expand Down

0 comments on commit 6aa3565

Please sign in to comment.