summaryrefslogtreecommitdiff
path: root/src/test/fixtures/channel.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/fixtures/channel.rs')
-rw-r--r--src/test/fixtures/channel.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/fixtures/channel.rs b/src/test/fixtures/channel.rs
index 3831c82..8cb38ae 100644
--- a/src/test/fixtures/channel.rs
+++ b/src/test/fixtures/channel.rs
@@ -44,3 +44,7 @@ pub fn created(event: channel::Event) -> future::Ready<Option<channel::event::Cr
channel::Event::Deleted(_) => None,
})
}
+
+pub fn fictitious() -> channel::Id {
+ channel::Id::generate()
+}