Skip to content

Commit

Permalink
sonar fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jameshnsears committed Jan 29, 2019
1 parent 017bd13 commit 945ba3d
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
Empty file removed src/app/app.component.css
Empty file.
3 changes: 1 addition & 2 deletions src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ import { TabViewModule } from 'primeng/primeng';

@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
templateUrl: './app.component.html'
})
export class AppComponent {
title = 'XQA';
Expand Down
2 changes: 1 addition & 1 deletion src/app/xquery/xquery.component.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<textarea [rows]="12" style="width:100%" pInputTextarea [(ngModel)]="xquery"></textarea>

<p>&nbsp;</p>
<p>NOTE: response time depends on xqa-query-balancer <b><i>shard*Timeout</i></b> values in docker-compose.yml
<p>NOTE: response time depends on xqa-query-balancer <strong><em>shard*Timeout</em></strong> values in docker-compose.yml
<button pButton type="button" label="run" (click)="run()"></button>
&nbsp;
<button pButton type="button" label="clear" (click)="clear()"></button>
Expand Down
2 changes: 1 addition & 1 deletion src/app/xquery/xquery.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ describe('XQueryComponent', () => {
});

it('clear pressed', () => {
component.materialisedResponse = '1';
component.clear();
expect(component.xquery).toEqual('count(/)');
expect(component.materialisedResponse).toEqual('');
});
});

0 comments on commit 945ba3d

Please sign in to comment.