Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test code coverage not 100% #52

Closed
sk82jack opened this issue Feb 24, 2019 · 0 comments
Closed

Test code coverage not 100% #52

sk82jack opened this issue Feb 24, 2019 · 0 comments

Comments

@sk82jack
Copy link
Owner

Not covering the following lines in the tests:

Code coverage report:
Covered 97.59 % of 374 analyzed Commands in 19 Files.
Missed commands:

File                     Function      Line Command                                                                    
----                     --------      ---- -------                                                                    
Public\Get-FplLineup.ps1 Get-FplLineup   18 if ((-not $Script:FplSessionData) -or (-not $Script:FplSessionData['FplS...
Public\Get-FplLineup.ps1 Get-FplLineup   18 -not $Script:FplSessionData                                                
Public\Get-FplLineup.ps1 Get-FplLineup   18 -not $Script:FplSessionData['FplSession']                                  
Public\Get-FplLineup.ps1 Get-FplLineup   19 Write-Warning 'No existing connection found'                               
Public\Get-FplLineup.ps1 Get-FplLineup   20 $Credential = Get-Credential -Message 'Please enter your FPL login details'
Public\Get-FplLineup.ps1 Get-FplLineup   21 Connect-Fpl -Credential $Credential                                        
Public\Get-FplLineup.ps1 Get-FplLineup   24 $TeamId = $Script:FplSessionData['TeamID']                                 
Public\Get-FplLineup.ps1 Get-FplLineup   26 $Response = Invoke-RestMethod -Uri "https://fantasy.premierleague.com/dr...
Public\Get-FplLineup.ps1 Get-FplLineup   28 ConvertTo-FplObject -InputObject $Response.Picks -Type 'FplLineup'    
@sk82jack sk82jack closed this as completed Apr 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant