Skip to content

Commit

Permalink
feat: remove irrevelant message
Browse files Browse the repository at this point in the history
  • Loading branch information
michel-barret committed Jan 27, 2025
1 parent fcd71a0 commit 4fda059
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,6 @@ <h1>APIs</h1>
@if (element.access.length > 1) {
<span class="access__badge gio-badge-neutral"> {{ element.access.length - 1 }} more </span>
}
} @else {
<span class="access__message">No access with this configuration</span>
}
</td>
</ng-container>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,7 @@ describe('ApisListComponent', () => {
await initComponent([api]);

const { rowCells } = await computeApisTableCells();
expect(rowCells).toEqual([
['', '🪐 Planets (1.0)', 'V4 - Message Gravitee', '', 'No access with this configuration', '', '', 'admin', 'public', 'edit'],
]);
expect(rowCells).toEqual([['', '🪐 Planets (1.0)', 'V4 - Message Gravitee', '', '', '', '', 'admin', 'public', 'edit']]);
expect(await loader.getHarness(MatIconHarness.with({ selector: '.states__api-started' }))).toBeTruthy();
}));

Expand Down

0 comments on commit 4fda059

Please sign in to comment.