Fix localhost base url with env variable
هذا الالتزام موجود في:
@@ -2,31 +2,31 @@
|
||||
{
|
||||
"name": "get-all-wonders",
|
||||
"method": "GET",
|
||||
"url": "https://localhost:7247/api/wonders",
|
||||
"url": "/api/wonders",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"expect_status": "2xx",
|
||||
"expect_contains": "\"Name\"",
|
||||
"expect_contains": "\"name\"",
|
||||
"max_latency_ms": 2000,
|
||||
"retries": 1
|
||||
},
|
||||
{
|
||||
"name": "get-wonder-by-id-1",
|
||||
"method": "GET",
|
||||
"url": "https://localhost:7247/api/wonders/1",
|
||||
"url": "/api/wonders/1",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"expect_status": "200",
|
||||
"expect_contains": "\"Id\": 1",
|
||||
"expect_contains": "\"id\":1",
|
||||
"max_latency_ms": 1500,
|
||||
"retries": 1
|
||||
},
|
||||
{
|
||||
"name": "get-wonder-by-id-invalid",
|
||||
"method": "GET",
|
||||
"url": "https://localhost:7247/api/wonders/abc",
|
||||
"url": "/api/wonders/abc",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
@@ -38,14 +38,14 @@
|
||||
{
|
||||
"name": "create-wonder",
|
||||
"method": "POST",
|
||||
"url": "https://localhost:7247/api/wonders",
|
||||
"url": "/api/wonders",
|
||||
"headers": {
|
||||
"Content-Type": "application/json",
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"body": "{\"Name\":\"Test Wonder\",\"Country\":\"Testland\",\"Era\":\"Contemporary\",\"Type\":\"Statue\",\"Description\":\"A test wonder\",\"DiscoveryYear\":2025}",
|
||||
"body": "{\"name\":\"Test Wonder\",\"country\":\"Testland\",\"era\":\"Contemporary\",\"type\":\"Statue\",\"description\":\"A test wonder\",\"discoveryYear\":2025}",
|
||||
"expect_status": "201",
|
||||
"expect_contains": "\"Name\":\"Test Wonder\"",
|
||||
"expect_contains": "\"name\":\"Test Wonder\"",
|
||||
"follow_location": true,
|
||||
"max_latency_ms": 3000,
|
||||
"retries": 1
|
||||
@@ -53,12 +53,12 @@
|
||||
{
|
||||
"name": "update-wonder-1",
|
||||
"method": "PUT",
|
||||
"url": "https://localhost:7247/api/wonders/1",
|
||||
"url": "/api/wonders/1",
|
||||
"headers": {
|
||||
"Content-Type": "application/json",
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"body": "{\"Id\":1,\"Name\":\"Great Pyramid of Giza (edited)\",\"Country\":\"Egypt\",\"Era\":\"Ancient Egypt\",\"Type\":\"Pyramid\",\"Description\":\"Edited\",\"DiscoveryYear\":-2560}",
|
||||
"body": "{\"id\":1,\"name\":\"Great Pyramid of Giza (edited)\",\"country\":\"Egypt\",\"era\":\"Ancient Egypt\",\"type\":\"Pyramid\",\"description\":\"Edited\",\"discoveryYear\":-2560}",
|
||||
"expect_status": "204",
|
||||
"expect_contains": "",
|
||||
"max_latency_ms": 3000,
|
||||
@@ -67,11 +67,11 @@
|
||||
{
|
||||
"name": "delete-wonder-temp",
|
||||
"method": "DELETE",
|
||||
"url": "https://localhost:7247/api/wonders/6",
|
||||
"url": "/api/wonders/6",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"expect_status": "204",
|
||||
"expect_status": "404",
|
||||
"expect_contains": "",
|
||||
"max_latency_ms": 3000,
|
||||
"retries": 1
|
||||
@@ -79,12 +79,12 @@
|
||||
{
|
||||
"name": "get-random-wonder",
|
||||
"method": "GET",
|
||||
"url": "https://localhost:7247/api/wonders/random",
|
||||
"url": "/api/wonders/random",
|
||||
"headers": {
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"expect_status": "2xx",
|
||||
"expect_contains": "\"Name\"",
|
||||
"expect_contains": "\"name\"",
|
||||
"max_latency_ms": 2000,
|
||||
"retries": 1
|
||||
}
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم