Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.cesar.br.foodlovers">
package="com.cesar.br.foodlovers">

<application
android:allowBackup="true"
Expand Down
8 changes: 0 additions & 8 deletions app/src/test/java/com/cesar/br/foodlovers/FoodUnitTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,6 @@ import org.junit.Test

class FoodUnitTest {

@Test
fun `When a food is created, the id is 1`(){
val firstId = 1;
val food = Food(type = "xablau", name = "xablau")

assert(food.id == firstId)
}

@Test
fun `When a food is created, the type cannot be null`(){
val nullType = null
Expand Down