fix: debug integration test

This commit is contained in:
Zack Fu Zi Xiang 2024-06-18 10:19:54 +08:00
parent 146ef9cb8c
commit f551db6190
No known key found for this signature in database
1 changed files with 6 additions and 0 deletions

View File

@ -14,6 +14,12 @@ async fn test_set_publish_namespace_set() {
.unwrap();
assert_eq!(format!("{:?}", err.code), "PublishNamespaceNotSet");
if format!("{:?}", err.code) != "PublishNamespaceNotSet" {
panic!(
"Expected PublishNamespaceNotSet, got: code {:?}, message {:?}",
err.code, err.message
);
}
}
let namespace = uuid::Uuid::new_v4().to_string();