test(app): make the model fixtures use an unsupported backend and answer the directory read
This commit is contained in:
@@ -152,7 +152,7 @@ void main() {
|
||||
(tester) async {
|
||||
final gateway = _ScreenGateway()
|
||||
..sessions = [
|
||||
{'id': 's', 'title': 'Wire chat', 'backend': 'claude'},
|
||||
{'id': 's', 'title': 'Wire chat', 'backend': 'other'},
|
||||
];
|
||||
await _pumpScreen(tester, gateway, initialSessionId: 's');
|
||||
|
||||
|
||||
@@ -380,7 +380,7 @@ void main() {
|
||||
await _openThread(
|
||||
tester,
|
||||
gateway,
|
||||
session: _withSession({'backend': 'claude'}),
|
||||
session: _withSession({'backend': 'other'}),
|
||||
);
|
||||
|
||||
expect(find.byKey(const Key('chat-model')), findsNothing);
|
||||
|
||||
@@ -110,7 +110,7 @@ void main() {
|
||||
gateway: gateway,
|
||||
sessionId: 's',
|
||||
title: _title,
|
||||
session: {..._session, 'backend': 'claude'},
|
||||
session: {..._session, 'backend': 'other'},
|
||||
onBack: () {},
|
||||
),
|
||||
cupertino: false,
|
||||
|
||||
Reference in New Issue
Block a user