wip
This commit is contained in:
@@ -8,7 +8,7 @@ import (
|
||||
|
||||
func TestValidateRecipe_InvalidType(t *testing.T) {
|
||||
recipe := map[string]any{
|
||||
"@type": "Recipe",
|
||||
"_type": "Recipe",
|
||||
"recipeYield": 4,
|
||||
"recipeIngredient": []string{
|
||||
"500 g flour",
|
||||
@@ -24,7 +24,7 @@ func TestValidateRecipe_InvalidType(t *testing.T) {
|
||||
|
||||
func TestValidateRecipe_Valid(t *testing.T) {
|
||||
recipe := map[string]any{
|
||||
"@type": "Recipe",
|
||||
"_type": "Recipe",
|
||||
"name": "Simple Bread",
|
||||
"cookTime": "PT30M",
|
||||
"recipeIngredient": []any{"500 g flour", "300 ml water", "10 g salt", "3 g yeast"},
|
||||
|
Reference in New Issue
Block a user