mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	fix content_type on test_api_create_storage_path
This commit is contained in:
		 Michael Shamoon
					Michael Shamoon
				
			
				
					committed by
					
						 Trenton Holmes
						Trenton Holmes
					
				
			
			
				
	
			
			
			 Trenton Holmes
						Trenton Holmes
					
				
			
						parent
						
							6509a39079
						
					
				
				
					commit
					f91263776f
				
			| @@ -2599,8 +2599,6 @@ class TestApiStoragePaths(DirectoriesMixin, APITestCase): | ||||
|         self.assertEqual(resp_storage_path["id"], self.sp1.id) | ||||
|         self.assertEqual(resp_storage_path["path"], self.sp1.path) | ||||
|  | ||||
|     # TODO: Need to investigate and fix | ||||
|     @pytest.mark.skip(reason="Return 400, unsure as to why") | ||||
|     def test_api_create_storage_path(self): | ||||
|         response = self.client.post( | ||||
|             self.ENDPOINT, | ||||
| @@ -2610,6 +2608,6 @@ class TestApiStoragePaths(DirectoriesMixin, APITestCase): | ||||
|                     "path": "Somewhere/{asn}", | ||||
|                 }, | ||||
|             ), | ||||
|             format="json", | ||||
|             content_type="application/json", | ||||
|         ) | ||||
|         self.assertEqual(response.status_code, 201) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user