Skip to content

Commit

Permalink
Removed test-only parser
Browse files Browse the repository at this point in the history
  • Loading branch information
fobo66 committed Jan 11, 2025
1 parent 1f67b80 commit b1cdbf5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 114 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2024 Andrey Mukamolov
* Copyright 2025 Andrey Mukamolov
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -17,6 +17,7 @@
package fobo66.valiutchik.core.util

import fobo66.valiutchik.api.CurrencyRatesParser
import fobo66.valiutchik.api.CurrencyRatesParserSerializerImpl
import fobo66.valiutchik.core.model.datasource.BestCourseDataSource
import fobo66.valiutchik.core.model.datasource.BestCourseDataSourceImpl
import org.junit.jupiter.api.Assertions.assertEquals
Expand All @@ -39,7 +40,7 @@ const val BEST_UAH_SELL = "0.09"
*/
class BestCourseDataSourceTest {
private val testFile = javaClass.classLoader?.getResourceAsStream("myfinTestData.xml")!!
private val parser: CurrencyRatesParser = TestMyfinParser()
private val parser: CurrencyRatesParser = CurrencyRatesParserSerializerImpl()
private val currencies = parser.parse(testFile)

private val bestCourseDataSource: BestCourseDataSource = BestCourseDataSourceImpl()
Expand Down
112 changes: 0 additions & 112 deletions data/src/test/kotlin/fobo66/valiutchik/core/util/TestMyfinParser.kt

This file was deleted.

0 comments on commit b1cdbf5

Please sign in to comment.