Skip to content

Commit

Permalink
floor_manager test change
Browse files Browse the repository at this point in the history
errors gekomen door het wijzigen van het json data naar de originele versie
  • Loading branch information
safouuwa committed Jan 20, 2025
1 parent e6b565f commit 1ec90dd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion C#api/Tests/Security; Rolls/test_floor_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def test_PostLocation(self):
self.assertEqual(response.status_code, 201)

self.client.headers["API_KEY"] = "a1b2c3d4e5"
response = self.client.delete(f"locations/{self.GetJsonData('locations')[-1]['Id']}")
response = self.client.delete(f"locations/{self.GetJsonData('locations')[-1]['Id']}/force")
self.assertEqual(response.status_code, httpx.codes.OK)
self.client.headers["API_KEY"] = "p6q7r8s9t0"

Expand All @@ -56,6 +56,7 @@ def test_PostItemLine(self):
self.assertEqual(response.status_code, 401)

def test_UpdateItemGroup(self):
self.client.headers["API_KEY"] = "p6q7r8s9t0"
updated_item_group = {
"Name": "New Item group",
"Description": "Description of the new item line",
Expand Down

0 comments on commit 1ec90dd

Please sign in to comment.