diff options
author | HarmJ0y <will@harmj0y.net> | 2016-12-12 13:13:29 -0500 |
---|---|---|
committer | HarmJ0y <will@harmj0y.net> | 2016-12-12 13:13:29 -0500 |
commit | 422cd612f679df57643d5c0b366d25a032fb063b (patch) | |
tree | fc007ef9df7015839d3abd59f69a26763ae8e50c /Tests | |
parent | aa528b98c74aa00f51568415dbc48571f9e7c344 (diff) | |
download | PowerSploit-422cd612f679df57643d5c0b366d25a032fb063b.tar.gz PowerSploit-422cd612f679df57643d5c0b366d25a032fb063b.zip |
removed Set-MacAttribute Pester tests
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/Recon.tests.ps1 | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/Tests/Recon.tests.ps1 b/Tests/Recon.tests.ps1 index 8fd3d75..c291135 100644 --- a/Tests/Recon.tests.ps1 +++ b/Tests/Recon.tests.ps1 @@ -30,32 +30,6 @@ Describe 'Export-PowerViewCSV' { } } - -Describe 'Set-MacAttribute' { - BeforeEach { - New-Item MacAttribute.test.txt -Type file - } - AfterEach { - Remove-Item -Force MacAttribute.test.txt - } - It 'Should clone MAC attributes of existing file' { - Set-MacAttribute -FilePath MacAttribute.test.txt -All '01/01/2000 12:00 am' - $File = (Get-Item MacAttribute.test.txt) - $Date = Get-Date -Date '2000-01-01 00:00:00' - - if ($File.LastWriteTime -ne $Date) { - Throw 'File LastWriteTime does Not match' - } - elseif($File.LastAccessTime -ne $Date) { - Throw 'File LastAccessTime does Not match' - } - elseif($File.CreationTime -ne $Date) { - Throw 'File CreationTime does Not match' - } - } -} - - Describe 'Get-IPAddress' { $IPregex = "(?<Address>((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?))" It 'Should return local IP address' { |