From 19b832e24ef6d0c9977774642bf5ac27e1871456 Mon Sep 17 00:00:00 2001
From: Javier de la Puente <javier.delapuente@canonical.com>
Date: Fri, 15 Dec 2023 17:33:06 +0100
Subject: [PATCH] Improve test info in act

---
 src-docs/smtp_observer.py.md | 4 ++--
 tests/unit/test_charm.py     | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src-docs/smtp_observer.py.md b/src-docs/smtp_observer.py.md
index 4e858de7..db7aaa4b 100644
--- a/src-docs/smtp_observer.py.md
+++ b/src-docs/smtp_observer.py.md
@@ -14,7 +14,7 @@ The SMTP relation observer.
 
 Attrs:  _pebble_service: instance of pebble service. 
 
-<a href="../src/smtp_observer.py#L41"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a>
+<a href="../src/smtp_observer.py#L42"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a>
 
 ### <kbd>function</kbd> `__init__`
 
@@ -41,7 +41,7 @@ Shortcut for more simple access the model.
 
 ---
 
-<a href="../src/smtp_observer.py#L58"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a>
+<a href="../src/smtp_observer.py#L60"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a>
 
 ### <kbd>function</kbd> `get_relation_as_smtp_conf`
 
diff --git a/tests/unit/test_charm.py b/tests/unit/test_charm.py
index 41044219..1df208c1 100644
--- a/tests/unit/test_charm.py
+++ b/tests/unit/test_charm.py
@@ -226,7 +226,7 @@ def test_smtp_integration_container_down(smtp_configured: Harness) -> None:
 def test_smtp_relation_pebble_success(smtp_configured: Harness, monkeypatch: pytest.MonkeyPatch):
     """
     arrange: start the Synapse charm, set server_name, mock synapse.enable_smtp.
-    act: call enable_smtp from pebble_service.
+    act: emit smtp_data_available
     assert: synapse.enable_smtp is called once and unit is active.
     """
     harness = smtp_configured