From ba9efeb0dc17def8eebe634700a4880af7125470 Mon Sep 17 00:00:00 2001 From: Marcin Stepnowski Date: Mon, 6 May 2024 16:30:19 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A5=20refactor(ScanCodeViewController.?= =?UTF-8?q?swift):=20remove=20redundant=20viewDidLayoutSubviews=20method?= =?UTF-8?q?=20=F0=9F=94=A5=20refactor(ScanBarcodeWithResultPageUITests.swi?= =?UTF-8?q?ft):=20remove=20redundant=20setUp=20method?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../UI/ProductSearch/ScanCode/ScanCodeViewController.swift | 4 ---- .../PolaUITests/Tests/ScanBarcodeWithResultPageUITests.swift | 3 --- 2 files changed, 7 deletions(-) diff --git a/BuyPolish/Pola/UI/ProductSearch/ScanCode/ScanCodeViewController.swift b/BuyPolish/Pola/UI/ProductSearch/ScanCode/ScanCodeViewController.swift index 1ea99d024..3144bde29 100644 --- a/BuyPolish/Pola/UI/ProductSearch/ScanCode/ScanCodeViewController.swift +++ b/BuyPolish/Pola/UI/ProductSearch/ScanCode/ScanCodeViewController.swift @@ -94,10 +94,6 @@ final class ScanCodeViewController: UIViewController { disposable = nil } - override func viewDidLayoutSubviews() { - super.viewDidLayoutSubviews() - } - func showScanCodeView() { dismiss(animated: true, completion: nil) hideKeyboardController() diff --git a/BuyPolish/PolaUITests/Tests/ScanBarcodeWithResultPageUITests.swift b/BuyPolish/PolaUITests/Tests/ScanBarcodeWithResultPageUITests.swift index 5bef7a851..4be8d4ea4 100644 --- a/BuyPolish/PolaUITests/Tests/ScanBarcodeWithResultPageUITests.swift +++ b/BuyPolish/PolaUITests/Tests/ScanBarcodeWithResultPageUITests.swift @@ -1,9 +1,6 @@ import XCTest final class ScanBarcodeWithResultPageUITests: PolaUITestCase { - override func setUp() { - super.setUp() - } func testGustawCompanyShouldBeMarkedAsPolaFriends() { testResultPage(codeData: CodeData.Gustaw)