mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 02:55:58 +01:00 
			
		
		
		
	fix: auth tests
This commit is contained in:
		| @@ -165,7 +165,7 @@ describe('authentication', function () { | |||||||
| 				assert(body); | 				assert(body); | ||||||
|  |  | ||||||
| 				request({ | 				request({ | ||||||
| 					url: nconf.get('url') + '/api/me', | 					url: nconf.get('url') + '/api/self', | ||||||
| 					json: true, | 					json: true, | ||||||
| 					jar: jar, | 					jar: jar, | ||||||
| 				}, function (err, response, body) { | 				}, function (err, response, body) { | ||||||
| @@ -204,7 +204,7 @@ describe('authentication', function () { | |||||||
| 			assert.ifError(err); | 			assert.ifError(err); | ||||||
| 			assert(body); | 			assert(body); | ||||||
| 			request({ | 			request({ | ||||||
| 				url: nconf.get('url') + '/api/me', | 				url: nconf.get('url') + '/api/self', | ||||||
| 				json: true, | 				json: true, | ||||||
| 				jar: jar, | 				jar: jar, | ||||||
| 			}, function (err, response, body) { | 			}, function (err, response, body) { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user