Skip to content

Commit 9e043ea

Browse files
committed
Merge branch 'fix-3070' of github.com:antgonza/qiita into fix-3070
2 parents d59b8f1 + 1c92bea commit 9e043ea

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

qiita_pet/handlers/api_proxy/artifact.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ def artifact_status_put_req(artifact_id, user_id, visibility):
345345
else:
346346
pd.visibility = visibility
347347

348-
LogEntry.create('Warning', '%s changed artifact %s (%d) to %s' % (
348+
LogEntry.create('Warning', '%s changed artifact %s (study %d) to %s' % (
349349
user_id, artifact_id, sid, visibility))
350350

351351
return {'status': status,

qiita_pet/handlers/api_proxy/tests/test_artifact.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ def test_artifact_status_put_req_private(self):
314314
self.assertEqual(obs, exp)
315315
# testing that the log message is generated
316316
self.assertEqual(LogEntry.newest_records(1)[0].msg,
317-
'admin@foo.bar changed artifact 1 (1) to private')
317+
'admin@foo.bar changed artifact 1 (study 1) to private')
318318

319319
def test_artifact_status_put_req_private_bad_permissions(self):
320320
obs = artifact_status_put_req(1, 'test@foo.bar', 'private')

0 commit comments

Comments
 (0)