diff --git a/presentation/src/main/java/com/android254/presentation/models/SponsorPresentationModel.kt b/presentation/src/main/java/com/android254/presentation/models/SponsorPresentationModel.kt index e6c1c7f9..afe5a8bd 100644 --- a/presentation/src/main/java/com/android254/presentation/models/SponsorPresentationModel.kt +++ b/presentation/src/main/java/com/android254/presentation/models/SponsorPresentationModel.kt @@ -1,8 +1,23 @@ +/* + * Copyright 2023 DroidconKE + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.android254.presentation.models data class SponsorPresentationModel( val name: String, val link: String, val logo: String, - val sponsorType: String, + val sponsorType: String ) \ No newline at end of file diff --git a/presentation/src/test/java/com/android254/presentation/home/screen/HomeScreenTest.kt b/presentation/src/test/java/com/android254/presentation/home/screen/HomeScreenTest.kt index 33c8a821..0cf8f8f7 100644 --- a/presentation/src/test/java/com/android254/presentation/home/screen/HomeScreenTest.kt +++ b/presentation/src/test/java/com/android254/presentation/home/screen/HomeScreenTest.kt @@ -95,7 +95,7 @@ class HomeScreenTest { @Test fun `Test sponsors card is displayed`() { composeTestRule.setContent { - SponsorsCard(sponsors = listOf(SponsorPresentationModel("","","",""))) + SponsorsCard(sponsors = listOf(SponsorPresentationModel("", "", "", ""))) } composeTestRule.onNodeWithTag("sponsors_section") }