Skip to content

Commit

Permalink
Fix oversight
Browse files Browse the repository at this point in the history
  • Loading branch information
flack committed Jan 4, 2025
1 parent d599e6b commit 3bd09c2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/midcom/services/rcs/mainTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
use midcom_db_topic;
use midcom_services_rcs_backend_null;
use midcom_services_rcs_backend_rcs;
use midcom\events\dbaevent;

/**
* OpenPSA testcase
Expand Down Expand Up @@ -60,6 +61,7 @@ public function test_update()
$topic = $this->create_object(midcom_db_topic::class);

$rcs = new midcom_services_rcs($conf);
$this->assertTrue($rcs->update($topic));
$rcs->update(new dbaevent($topic));
$this->assertCount(1, $rcs->load_backend($topic)->get_history()->all());
}
}

0 comments on commit 3bd09c2

Please sign in to comment.