summaryrefslogtreecommitdiff
path: root/src/channel/routes
diff options
context:
space:
mode:
authorOwen Jacobson <owen@grimoire.ca>2024-10-24 19:49:54 -0400
committerOwen Jacobson <owen@grimoire.ca>2024-10-24 19:49:54 -0400
commitf9cbf95e5b850a7407c34f936c0f858520682a5d (patch)
tree31c67535f6e598b83dc3e752ce0a0727fc817fcd /src/channel/routes
parent461814e5174cef1be3e07b4e4069314e9bcbedd6 (diff)
Tests for retrieving invites
Diffstat (limited to 'src/channel/routes')
-rw-r--r--src/channel/routes/channel/test/delete.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/channel/routes/channel/test/delete.rs b/src/channel/routes/channel/test/delete.rs
index e9af12f..e1210fd 100644
--- a/src/channel/routes/channel/test/delete.rs
+++ b/src/channel/routes/channel/test/delete.rs
@@ -9,7 +9,7 @@ use crate::{
};
#[tokio::test]
-pub async fn delete_channel() {
+pub async fn valid_channel() {
// Set up the environment
let app = fixtures::scratch_app().await;
@@ -38,7 +38,7 @@ pub async fn delete_channel() {
}
#[tokio::test]
-pub async fn delete_invalid_channel_id() {
+pub async fn invalid_channel_id() {
// Set up the environment
let app = fixtures::scratch_app().await;
@@ -62,7 +62,7 @@ pub async fn delete_invalid_channel_id() {
}
#[tokio::test]
-pub async fn delete_deleted() {
+pub async fn channel_deleted() {
// Set up the environment
let app = fixtures::scratch_app().await;
@@ -91,7 +91,7 @@ pub async fn delete_deleted() {
}
#[tokio::test]
-pub async fn delete_expired() {
+pub async fn channel_expired() {
// Set up the environment
let app = fixtures::scratch_app().await;
@@ -120,7 +120,7 @@ pub async fn delete_expired() {
}
#[tokio::test]
-pub async fn delete_purged() {
+pub async fn channel_purged() {
// Set up the environment
let app = fixtures::scratch_app().await;