huskies: merge 864
This commit is contained in:
@@ -18,6 +18,7 @@ async fn rate_limit_warning_sends_notification_with_agent_and_story() {
|
||||
"365_story_rate_limit",
|
||||
"2_current",
|
||||
"---\nname: Rate Limit Test Story\n---\n",
|
||||
crate::db::ItemMeta::from_yaml("---\nname: Rate Limit Test Story\n---\n"),
|
||||
);
|
||||
|
||||
let (watcher_tx, watcher_rx) = broadcast::channel::<WatcherEvent>(16);
|
||||
@@ -144,6 +145,7 @@ async fn story_blocked_sends_notification_with_reason() {
|
||||
"425_story_blocking_test",
|
||||
"2_current",
|
||||
"---\nname: Blocking Test Story\n---\n",
|
||||
crate::db::ItemMeta::from_yaml("---\nname: Blocking Test Story\n---\n"),
|
||||
);
|
||||
|
||||
let (watcher_tx, watcher_rx) = broadcast::channel::<WatcherEvent>(16);
|
||||
|
||||
@@ -17,7 +17,12 @@ async fn stage_notification_uses_dynamic_room_ids() {
|
||||
let tmp = tempfile::tempdir().unwrap();
|
||||
// Seed story via CRDT (the only source of truth).
|
||||
crate::db::ensure_content_store();
|
||||
crate::db::write_item_with_content("10_story_foo", "3_qa", "---\nname: Foo Story\n---\n");
|
||||
crate::db::write_item_with_content(
|
||||
"10_story_foo",
|
||||
"3_qa",
|
||||
"---\nname: Foo Story\n---\n",
|
||||
crate::db::ItemMeta::from_yaml("---\nname: Foo Story\n---\n"),
|
||||
);
|
||||
|
||||
let (watcher_tx, watcher_rx) = broadcast::channel::<WatcherEvent>(16);
|
||||
let (transport, calls) = MockTransport::new();
|
||||
@@ -106,6 +111,7 @@ fn read_story_name_reads_from_front_matter() {
|
||||
"9942_story_my_feature",
|
||||
"2_current",
|
||||
"---\nname: My Cool Feature\n---\n# Story\n",
|
||||
crate::db::ItemMeta::from_yaml("---\nname: My Cool Feature\n---\n# Story\n"),
|
||||
);
|
||||
|
||||
let tmp = tempfile::tempdir().unwrap();
|
||||
@@ -128,6 +134,7 @@ fn read_story_name_returns_none_for_missing_name_field() {
|
||||
"9943_story_no_name",
|
||||
"2_current",
|
||||
"---\ncoverage_baseline: 50%\n---\n# Story\n",
|
||||
crate::db::ItemMeta::from_yaml("---\ncoverage_baseline: 50%\n---\n# Story\n"),
|
||||
);
|
||||
|
||||
let tmp = tempfile::tempdir().unwrap();
|
||||
|
||||
Reference in New Issue
Block a user