Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion crates/shared/auth/src/sqlite_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ async fn browser_session_round_trip_succeeds() {
let row = BrowserSessionRow {
session_id: "sess_123".into(),
subject: "user_1".into(),
email: Some("jmagar@example.com".into()),
email: Some("devuser@example.com".into()),
csrf_token: "csrf_123".into(),
created_at: 1,
expires_at: now_unix() + 9_999,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ impl ProcessInspector for Fixture {
topology_revision: host.revision().clone(),
sort: request.sort(),
rows: vec![ProcessRow {
user: "jmagar".into(),
user: "devuser".into(),
pid: 1,
cpu_percent: 1.0,
memory_percent: 2.0,
Expand Down
6 changes: 3 additions & 3 deletions crates/synapse/import/src/scout_service/logs_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ fn ssh_host() -> HostConfig {
const SYSLOG_SAMPLE: &str = "\
May 29 12:00:01 devhost kernel: [ 0.000000] Linux version 7.0.0
May 29 12:00:02 devhost systemd[1]: Starting Network Time Synchronization
May 29 12:00:03 devhost sshd[1234]: Accepted publickey for jmagar
May 29 12:00:03 devhost sshd[1234]: Accepted publickey for devuser
";

const JOURNAL_SAMPLE: &str = "\
Expand All @@ -147,8 +147,8 @@ const DMESG_SAMPLE: &str = "\
";

const AUTH_SAMPLE: &str = "\
May 29 12:00:01 devhost sshd[1234]: Accepted publickey for jmagar from 192.168.1.10
May 29 12:00:02 devhost sudo[5678]: jmagar : TTY=pts/0 ; PWD=/home/jmagar ; USER=root
May 29 12:00:01 devhost sshd[1234]: Accepted publickey for devuser from 192.168.1.10
May 29 12:00:02 devhost sudo[5678]: devuser : TTY=pts/0 ; PWD=/home/devuser ; USER=root
";

// ─── syslog tests ────────────────────────────────────────────────────────────
Expand Down
Loading