Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: TT-264 removed the code smell
  • Loading branch information
kevinjlope committed Jun 22, 2021
commit 829bc651cdbaade06e3ec970ea7d71f683c38d74
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { ProjectState } from '../store/project.reducer';
import { getCustomerProjects } from '../store/project.selectors';
import * as actions from '../store/project.actions';
import { ProjectUI } from '../../../../../shared/models/project.model';
import { allProjectTypes, ProjectTypeState } from '../../../projects-type/store';
import { ProjectTypeState } from '../../../projects-type/store';
import { ProjectType } from 'src/app/modules/shared/models';

@Component({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import { ToastrService } from 'ngx-toastr';
import { CustomerService } from '../services/customer.service';
import * as actions from './customer-management.actions';
import { Status } from '../../shared/models/customer.model';
import { UpdateCustomerSuccess } from './customer-management.actions';

@Injectable()
export class CustomerEffects {
Expand Down
3 changes: 1 addition & 2 deletions src/app/modules/login/services/azure.ad.b2c.service.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,7 @@ describe('AzureAdB2CService', () => {

it('should get userId from UserAgentApplication', () => {
spyOn(UserAgentApplication.prototype, 'getAccount').and.returnValues(account);

const name = service.getUserId();
service.getUserId();

expect(UserAgentApplication.prototype.getAccount).toHaveBeenCalled();
});
Expand Down