From 7ecf75aacc004d6b86a8a1947e7fe0aa78ccf95e Mon Sep 17 00:00:00 2001
From: lazarog98 <lazarog98@ninlil.local>
Date: Tue, 31 Mar 2020 17:55:02 +0200
Subject: [PATCH] #232 wip unit test

---
 enzevalos_iphoneTests/GeneratedMocks.swift | 4 ++--
 enzevalos_iphoneTests/SMIMETests.swift     | 2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/enzevalos_iphoneTests/GeneratedMocks.swift b/enzevalos_iphoneTests/GeneratedMocks.swift
index 5e2f57a2..e1c29d05 100644
--- a/enzevalos_iphoneTests/GeneratedMocks.swift
+++ b/enzevalos_iphoneTests/GeneratedMocks.swift
@@ -1,4 +1,4 @@
-// MARK: - Mocks generated from file: enzevalos_iphone/AuthenticationModel.swift at 2020-03-24 10:19:37 +0000
+// MARK: - Mocks generated from file: enzevalos_iphone/AuthenticationModel.swift at 2020-03-31 15:54:34 +0000
 
 //
 //  AuthenticationModel.swift
@@ -653,7 +653,7 @@ import Foundation
 }
 
 
-// MARK: - Mocks generated from file: enzevalos_iphone/AuthenticationViewModel.swift at 2020-03-24 10:19:37 +0000
+// MARK: - Mocks generated from file: enzevalos_iphone/AuthenticationViewModel.swift at 2020-03-31 15:54:34 +0000
 
 //
 //  AuthenticationViewModel.swift
diff --git a/enzevalos_iphoneTests/SMIMETests.swift b/enzevalos_iphoneTests/SMIMETests.swift
index ba40475c..c98c2e92 100644
--- a/enzevalos_iphoneTests/SMIMETests.swift
+++ b/enzevalos_iphoneTests/SMIMETests.swift
@@ -343,6 +343,7 @@ PkfA6mR7rtcyIbHi34tfkCv/qolV3QivMHov0IJpRyNO
     var ourPrivateKeyFP: String?
             
     override func setUp() {
+        super.setUp()
         certi = Certificate(pem: test_key)
         othercerti = Certificate(pem: test_key_other)
         ourAddr = certi!.eMails![0]
@@ -353,6 +354,7 @@ PkfA6mR7rtcyIbHi34tfkCv/qolV3QivMHov0IJpRyNO
     }
 
     override func tearDown() {
+        super.tearDown()
         smimeObj.resetKeychain()
     }
 
-- 
GitLab