From d3ae50386d1466bae44b83359f56a587e1951f4d Mon Sep 17 00:00:00 2001 From: librarian <57712678+LibraryLibrarian@users.noreply.github.com> Date: Fri, 9 Oct 2026 12:32:49 +0900 Subject: [PATCH 1/3] =?UTF-8?q?test:=20=E3=83=AD=E3=83=BC=E3=82=AB?= =?UTF-8?q?=E3=83=AB=E6=A4=9C=E8=A8=BC=E7=92=B0=E5=A2=83=E3=81=AB=E4=BE=9D?= =?UTF-8?q?=E5=AD=98=E3=81=99=E3=82=8B=E3=83=86=E3=82=B9=E3=83=88=E3=82=92?= =?UTF-8?q?=E5=89=8A=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude --- dart_test.yaml | 5 - test/e2e/e2e_env.dart | 241 --------------------- test/e2e/fedibird_compat_e2e_test.dart | 192 ---------------- test/e2e/mastodon_federation_e2e_test.dart | 59 ----- test/e2e/mastodon_smoke_e2e_test.dart | 77 ------- test/e2e/mastodon_streaming_e2e_test.dart | 86 -------- 6 files changed, 660 deletions(-) delete mode 100644 dart_test.yaml delete mode 100644 test/e2e/e2e_env.dart delete mode 100644 test/e2e/fedibird_compat_e2e_test.dart delete mode 100644 test/e2e/mastodon_federation_e2e_test.dart delete mode 100644 test/e2e/mastodon_smoke_e2e_test.dart delete mode 100644 test/e2e/mastodon_streaming_e2e_test.dart diff --git a/dart_test.yaml b/dart_test.yaml deleted file mode 100644 index 3d9a8d7..0000000 --- a/dart_test.yaml +++ /dev/null @@ -1,5 +0,0 @@ -# E2Eテスト(test/e2e/)は fediverse_e2e 環境が必要。 -# 実行: RUN_E2E=1 dart test test/e2e (環境が無い場合は自動スキップ) -tags: - e2e: - timeout: 3m diff --git a/test/e2e/e2e_env.dart b/test/e2e/e2e_env.dart deleted file mode 100644 index 29a2c39..0000000 --- a/test/e2e/e2e_env.dart +++ /dev/null @@ -1,241 +0,0 @@ -import 'dart:async'; -import 'dart:io'; - -import 'package:dio/dio.dart'; -import 'package:dio/io.dart'; -import 'package:mastodon_client/mastodon_client.dart'; -import 'package:web_socket_channel/io.dart'; -import 'package:web_socket_channel/web_socket_channel.dart'; - -/// Connection settings for the local closed-federation E2E environment -/// (`fediverse_e2e`). -/// -/// Tests are enabled only when the environment variable `RUN_E2E=1` is set -/// and the `.env.e2e` file generated by `fediverse_e2e/scripts/seed.sh` -/// exists. Otherwise [tryLoad] returns `null` and E2E tests are skipped. -class E2eEnv { - E2eEnv._({ - required this.mastodonBaseUrl, - required this.mastodonAdminToken, - required this.mastodonUserToken, - required this.misskeyBaseUrl, - required this.rootCaPath, - this.fedibirdBaseUrl, - this.fedibirdAdminToken, - this.fedibirdUserToken, - }); - - /// Skip reason shown when the E2E environment is not available. - static const skipReason = - 'E2E environment not available (set RUN_E2E=1 and run ' - 'fediverse_e2e: make init)'; - - /// Skip reason shown when Fedibird is not part of the running environment. - static const fedibirdSkipReason = - 'fedibird.test is not seeded (run fediverse_e2e: make build-fedibird ' - '&& make init)'; - - final String mastodonBaseUrl; - final String mastodonAdminToken; - final String mastodonUserToken; - final String misskeyBaseUrl; - - /// Path to the self-signed root CA that the E2E servers use. - final String rootCaPath; - - /// Fedibird settings, `null` when Fedibird is not part of the environment. - final String? fedibirdBaseUrl; - final String? fedibirdAdminToken; - final String? fedibirdUserToken; - - /// Whether Fedibird is available in the running environment. - /// - /// Admin token included: [createFedibirdClient] can be asked for an - /// admin-scoped client, and a missing token there would surface as an - /// opaque 401 instead of a skip. - bool get hasFedibird => - (fedibirdBaseUrl?.isNotEmpty ?? false) && - (fedibirdUserToken?.isNotEmpty ?? false) && - (fedibirdAdminToken?.isNotEmpty ?? false); - - /// Loads the E2E environment, or returns `null` when unavailable. - static E2eEnv? tryLoad() { - if (Platform.environment['RUN_E2E'] != '1') return null; - - final envPath = - Platform.environment['E2E_ENV_FILE'] ?? '../fediverse_e2e/.env.e2e'; - final file = File(envPath); - if (!file.existsSync()) return null; - - final map = {}; - for (final line in file.readAsLinesSync()) { - final trimmed = line.trim(); - if (trimmed.isEmpty || trimmed.startsWith('#')) continue; - final index = trimmed.indexOf('='); - if (index <= 0) continue; - map[trimmed.substring(0, index)] = trimmed.substring(index + 1); - } - - // rootCAのパスはホスト絶対パスで書かれているため、 - // 存在しない場合(コンテナ内実行など)は .env.e2e からの相対で解決する - var caPath = map['E2E_ROOT_CA'] ?? ''; - if (caPath.isEmpty || !File(caPath).existsSync()) { - caPath = '${file.parent.path}/certs/rootCA.crt'; - } - if (!File(caPath).existsSync()) return null; - - final mastodonBaseUrl = map['MASTODON_BASE_URL']; - final mastodonAdminToken = map['MASTODON_ADMIN_TOKEN']; - final mastodonUserToken = map['MASTODON_USER_TOKEN']; - final misskeyBaseUrl = map['MISSKEY_BASE_URL']; - if (mastodonBaseUrl == null || - mastodonAdminToken == null || - mastodonUserToken == null || - misskeyBaseUrl == null) { - return null; - } - - return E2eEnv._( - mastodonBaseUrl: mastodonBaseUrl, - mastodonAdminToken: mastodonAdminToken, - mastodonUserToken: mastodonUserToken, - misskeyBaseUrl: misskeyBaseUrl, - rootCaPath: caPath, - fedibirdBaseUrl: map['FEDIBIRD_BASE_URL'], - fedibirdAdminToken: map['FEDIBIRD_ADMIN_TOKEN'], - fedibirdUserToken: map['FEDIBIRD_USER_TOKEN'], - ); - } - - /// Creates a dio adapter that trusts the E2E root CA. - HttpClientAdapter createHttpClientAdapter() => IOHttpClientAdapter( - createHttpClient: () { - final context = SecurityContext(withTrustedRoots: true) - ..setTrustedCertificates(rootCaPath); - return HttpClient(context: context); - }, - ); - - /// Creates a [MastodonClient] connected to `mastodon.test`. - /// - /// Uses the admin token when [admin] is `true`, the regular user token - /// otherwise. - MastodonClient createMastodonClient({bool admin = false}) => MastodonClient( - baseUrl: mastodonBaseUrl, - accessToken: admin ? mastodonAdminToken : mastodonUserToken, - httpClientAdapter: createHttpClientAdapter(), - ); - - /// Creates a [MastodonClient] connected to `fedibird.test`. - /// - /// Fedibird is a Mastodon 3.4 fork, so the same client is used; call - /// only when [hasFedibird] is `true`. - MastodonClient createFedibirdClient({bool admin = false}) => MastodonClient( - baseUrl: fedibirdBaseUrl!, - accessToken: admin ? fedibirdAdminToken : fedibirdUserToken, - httpClientAdapter: createHttpClientAdapter(), - ); - - /// Creates a [MastodonStreaming] connected to `mastodon.test`. - /// - /// The default connector cannot complete the TLS handshake against the - /// self-signed E2E certificate, so a connector trusting [rootCaPath] is - /// injected instead. - MastodonStreaming createMastodonStreaming({ - bool admin = false, - MastodonStreamingConfig? config, - }) => MastodonStreaming.withConnector( - baseUrl: mastodonBaseUrl, - accessToken: admin ? mastodonAdminToken : mastodonUserToken, - connector: _E2eWebSocketConnector(rootCaPath), - config: config, - ); -} - -/// A [WebSocketConnector] that trusts the E2E root CA. -final class _E2eWebSocketConnector implements WebSocketConnector { - _E2eWebSocketConnector(this._rootCaPath); - - final String _rootCaPath; - - @override - Future connect(WebSocketConnectOptions options) async { - final context = SecurityContext(withTrustedRoots: true) - ..setTrustedCertificates(_rootCaPath); - final channel = IOWebSocketChannel.connect( - options.uri, - protocols: options.protocols.isEmpty ? null : options.protocols, - headers: options.headers.isEmpty ? null : options.headers, - pingInterval: options.pingInterval, - connectTimeout: options.connectTimeout, - customClient: HttpClient(context: context), - ); - try { - await channel.ready; - return _E2eWebSocketConnection(channel); - } on Object catch (error) { - try { - await channel.sink.close(); - } on Object { - // 接続失敗の原因を close 側の例外で上書きしない。 - } - throw WebSocketConnectorException( - message: 'WebSocket handshake failed', - statusCode: switch (error) { - WebSocketChannelException(inner: final WebSocketException inner) => - inner.httpStatusCode, - WebSocketException(:final httpStatusCode) => httpStatusCode, - _ => null, - }, - cause: error, - ); - } - } -} - -final class _E2eWebSocketConnection implements WebSocketConnection { - _E2eWebSocketConnection(this._channel); - - final IOWebSocketChannel _channel; - - @override - Stream get messages => _channel.stream; - - @override - int? get closeCode => _channel.closeCode; - - @override - String? get closeReason => _channel.closeReason; - - @override - void sendText(String data) => _channel.sink.add(data); - - @override - Future close([int? closeCode, String? closeReason]) => - _channel.sink.close(closeCode, closeReason); -} - -/// Polls [probe] until it returns non-null, or fails after [timeout]. -/// -/// 連合配送は非同期のため、到達確認は必ずこれで待つこと。 -Future pollUntil( - Future Function() probe, { - Duration timeout = const Duration(seconds: 90), - Duration interval = const Duration(seconds: 2), -}) async { - final deadline = DateTime.now().add(timeout); - Object? lastError; - while (DateTime.now().isBefore(deadline)) { - try { - final result = await probe(); - if (result != null) return result; - } on Exception catch (e) { - lastError = e; - } - await Future.delayed(interval); - } - throw TimeoutException( - 'pollUntil timed out (last error: $lastError)', - timeout, - ); -} diff --git a/test/e2e/fedibird_compat_e2e_test.dart b/test/e2e/fedibird_compat_e2e_test.dart deleted file mode 100644 index 753aeb7..0000000 --- a/test/e2e/fedibird_compat_e2e_test.dart +++ /dev/null @@ -1,192 +0,0 @@ -@Tags(['e2e']) -library; - -import 'package:mastodon_client/mastodon_client.dart'; -import 'package:test/test.dart'; - -import 'e2e_env.dart'; - -/// Compatibility tests against fedibird.test in fediverse_e2e. -/// -/// Fedibird is a Mastodon 3.4-based fork and lacks some 4.x endpoints assumed -/// by mastodon_client. These tests record both supported and unsupported -/// behavior on a real server so applications can make capability decisions. -void main() { - final env = E2eEnv.tryLoad(); - if (env == null) { - test('fedibird compat e2e', () {}, skip: E2eEnv.skipReason); - return; - } - if (!env.hasFedibird) { - test('fedibird compat e2e', () {}, skip: E2eEnv.fedibirdSkipReason); - return; - } - - late MastodonClient client; - late MastodonClient adminClient; - - setUpAll(() { - client = env.createFedibirdClient(); - adminClient = env.createFedibirdClient(admin: true); - }); - - group('instance', () { - test('v1 instance works and reports 3.4.1', () async { - // fetchV1はMastodon 4.0で非推奨だが、3.4系サーバーでは唯一の手段。 - // 非推奨を理由に削除するとFedibird対応が壊れる - // ignore: deprecated_member_use_from_same_package - final instance = await client.instance.fetchV1(); - expect(instance.uri, 'fedibird.test'); - expect(instance.version, '3.4.1'); - }); - - test('v2 instance is NOT available (added in Mastodon 4.0)', () async { - // アプリ側は instance.fetch() の 404 を機能判定に使える - await expectLater( - client.instance.fetch(), - throwsA(isA()), - ); - }); - - test('peers and rules work', () async { - final peers = await client.instance.fetchPeers(); - expect(peers, contains('mastodon.test')); - // 3.x系でも /api/v1/instance/rules は存在する。ルールはWeb管理画面 - // からしか作れないため閉域環境では常に空になる - expect(await client.instance.fetchRules(), isEmpty); - }); - - test('domain_blocks is NOT available', () async { - await expectLater( - client.instance.fetchDomainBlocks(), - throwsA(isA()), - ); - }); - }); - - group('core APIs that work', () { - test('verifyCredentials returns the authenticated user', () async { - final me = await client.accounts.verifyCredentials(); - expect(me.username, 'e2e_carol'); - }); - - test('status create -> fetch -> delete round trip', () async { - final marker = 'e2e fedibird ${DateTime.now().millisecondsSinceEpoch}'; - final result = await client.statuses.create( - MastodonStatusCreateRequest(status: marker), - ); - final created = (result as MastodonStatusCreated).status; - expect(created.content, contains(marker)); - - final fetched = await client.statuses.fetch(created.id); - expect(fetched.id, created.id); - - await client.statuses.delete(created.id); - }); - - // 以降は「3.x系でもエンドポイントが存在し、現行モデルでデシリアライズ - // できる」ことの確認。呼び出しが例外を投げないこと自体が検証内容で、 - // 件数は世界の状態に依存するため limit の遵守のみを固定する - test('home timeline, notifications, custom emojis', () async { - final timeline = await client.timelines.fetchHome(limit: 5); - expect(timeline.items.length, lessThanOrEqualTo(5)); - - final notifications = await client.notifications.fetch(limit: 5); - expect(notifications.items.length, lessThanOrEqualTo(5)); - - await client.customEmojis.fetch(); - }); - - test('markers, preferences, lists, bookmarks', () async { - expect(await client.preferences.fetch(), isNotNull); - await client.lists.fetch(); - await client.bookmarks.fetch(); - }); - }); - - group('APIs that are NOT available on 3.4', () { - test( - 'v2 filters are NOT available (v1 filters exist on the server)', - () async { - await expectLater( - client.filters.fetch(), - throwsA(isA()), - ); - }, - ); - - test('all trends endpoints are NOT available', () async { - // 3.4 は旧来の `/api/v1/trends` (タグを返す) のみを持ち、 - // ライブラリが使う tags/statuses/links の分割パスは 4.0 以降 - await expectLater( - client.trends.fetchTags(), - throwsA(isA()), - ); - await expectLater( - client.trends.fetchStatuses(), - throwsA(isA()), - ); - await expectLater( - client.trends.fetchLinks(), - throwsA(isA()), - ); - }); - - test('followed tags are NOT available', () async { - await expectLater( - client.followedTags.fetch(), - throwsA(isA()), - ); - }); - }); - - group('admin APIs', () { - test('admin accounts and reports work', () async { - final accounts = await adminClient.adminAccounts.fetch(); - expect( - accounts.items.map((a) => a.username), - containsAll(['e2e_admin', 'e2e_carol']), - ); - final reports = await adminClient.adminReports.fetch(); - expect(reports.items, isNotNull); - }); - - test('admin v2 accounts and later admin APIs are NOT available', () async { - await expectLater( - adminClient.adminAccounts.fetchV2(), - throwsA(isA()), - ); - await expectLater( - adminClient.adminDomainBlocks.fetch(), - throwsA(isA()), - ); - await expectLater( - adminClient.adminIpBlocks.fetch(), - throwsA(isA()), - ); - }); - }); - - group('federation', () { - test('resolves remote users from both other servers', () async { - final mastodonResult = await client.search.search( - 'e2e_bob@mastodon.test', - type: 'accounts', - resolve: true, - ); - expect(mastodonResult.accounts.first.acct, 'e2e_bob@mastodon.test'); - - final misskeyResult = await client.search.search( - 'e2e_alice@misskey.test', - type: 'accounts', - resolve: true, - ); - expect(misskeyResult.accounts.first.acct, 'e2e_alice@misskey.test'); - }); - - test('peers include both federated servers', () async { - final peers = await client.instance.fetchPeers(); - expect(peers, containsAll(['mastodon.test', 'misskey.test'])); - }); - }); -} diff --git a/test/e2e/mastodon_federation_e2e_test.dart b/test/e2e/mastodon_federation_e2e_test.dart deleted file mode 100644 index 06c583e..0000000 --- a/test/e2e/mastodon_federation_e2e_test.dart +++ /dev/null @@ -1,59 +0,0 @@ -@Tags(['e2e']) -library; - -import 'package:mastodon_client/mastodon_client.dart'; -import 'package:test/test.dart'; - -import 'e2e_env.dart'; - -/// Federation tests between mastodon.test and misskey.test in fediverse_e2e. -void main() { - final env = E2eEnv.tryLoad(); - if (env == null) { - test('mastodon federation e2e', () {}, skip: E2eEnv.skipReason); - return; - } - - late MastodonClient client; - - setUpAll(() { - client = env.createMastodonClient(); - }); - - group('search', () { - test('resolves a remote Misskey user via WebFinger', () async { - final result = await client.search.search( - 'e2e_alice@misskey.test', - type: 'accounts', - resolve: true, - ); - expect(result.accounts, isNotEmpty); - final account = result.accounts.first; - expect(account.acct, 'e2e_alice@misskey.test'); - }); - }); - - group('instance peers', () { - test('fetchPeers includes misskey.test', () async { - final peers = await client.instance.fetchPeers(); - expect(peers, contains('misskey.test')); - }); - }); - - group('note delivery', () { - test('a remote Misskey note reaches the home timeline', () async { - // e2e_bob は e2e_alice(misskey.test) をフォローしている前提 - // (fediverse_e2e の make check で相互フォロー済み)。 - // Misskey側で投稿する代わりに、既存のリモート投稿がホームTLに - // 現れることを確認する(投稿起点の確認は misskey_client 側E2Eが担う) - final page = await pollUntil(() async { - final result = await client.timelines.fetchHome(limit: 40); - final hasRemote = result.items.any( - (s) => s.account.acct == 'e2e_alice@misskey.test', - ); - return hasRemote ? result : null; - }); - expect(page.items, isNotEmpty); - }); - }); -} diff --git a/test/e2e/mastodon_smoke_e2e_test.dart b/test/e2e/mastodon_smoke_e2e_test.dart deleted file mode 100644 index 5aefa39..0000000 --- a/test/e2e/mastodon_smoke_e2e_test.dart +++ /dev/null @@ -1,77 +0,0 @@ -@Tags(['e2e']) -library; - -import 'package:mastodon_client/mastodon_client.dart'; -import 'package:test/test.dart'; - -import 'e2e_env.dart'; - -/// Single-server smoke tests against mastodon.test in fediverse_e2e. -void main() { - final env = E2eEnv.tryLoad(); - if (env == null) { - test('mastodon smoke e2e', () {}, skip: E2eEnv.skipReason); - return; - } - - late MastodonClient client; - - setUpAll(() { - client = env.createMastodonClient(); - }); - - group('instance', () { - test('fetch returns instance metadata', () async { - final instance = await client.instance.fetch(); - expect(instance.domain, 'mastodon.test'); - expect(instance.version, isNotEmpty); - }); - }); - - group('accounts', () { - test('verifyCredentials returns the authenticated user', () async { - final me = await client.accounts.verifyCredentials(); - expect(me.username, 'e2e_bob'); - }); - }); - - group('statuses', () { - test('create -> fetch -> delete round trip', () async { - final marker = 'e2e smoke ${DateTime.now().millisecondsSinceEpoch}'; - final result = await client.statuses.create( - MastodonStatusCreateRequest(status: marker), - ); - expect(result, isA()); - final created = (result as MastodonStatusCreated).status; - expect(created.content, contains(marker)); - - final fetched = await client.statuses.fetch(created.id); - expect(fetched.id, created.id); - - await client.statuses.delete(created.id); - }); - - test('home timeline returns statuses', () async { - final page = await client.timelines.fetchHome(limit: 5); - - // 世界構築で e2e_bob のホームTLには投稿が存在する - expect(page.items, isNotEmpty); - expect(page.items.length, lessThanOrEqualTo(5)); - for (final status in page.items) { - expect(status.id, isNotEmpty); - expect(status.account.acct, isNotEmpty); - } - }); - }); - - group('admin', () { - test('adminAccounts.fetch works with an admin-scoped token', () async { - final adminClient = env.createMastodonClient(admin: true); - final page = await adminClient.adminAccounts.fetch(); - expect( - page.items.map((a) => a.username), - containsAll(['e2e_admin', 'e2e_bob']), - ); - }); - }); -} diff --git a/test/e2e/mastodon_streaming_e2e_test.dart b/test/e2e/mastodon_streaming_e2e_test.dart deleted file mode 100644 index f86ee1c..0000000 --- a/test/e2e/mastodon_streaming_e2e_test.dart +++ /dev/null @@ -1,86 +0,0 @@ -@Tags(['e2e']) -library; - -import 'package:mastodon_client/mastodon_client.dart'; -import 'package:test/test.dart'; - -import 'e2e_env.dart'; - -/// E2E tests for the Streaming API against mastodon.test in fediverse_e2e. -void main() { - final env = E2eEnv.tryLoad(); - if (env == null) { - test('mastodon streaming e2e', () {}, skip: E2eEnv.skipReason); - return; - } - - late MastodonClient client; - late MastodonStreaming streaming; - - setUpAll(() { - client = env.createMastodonClient(); - // 実サーバーの往復は既定の250msを超えうるので、購読エラーの待ち受け窓を広げる - streaming = env.createMastodonStreaming( - config: MastodonStreamingConfig( - subscriptionErrorWindow: const Duration(seconds: 5), - ), - ); - }); - - tearDownAll(() async { - await streaming.dispose(); - await client.dispose(); - }); - - group('health', () { - test('streaming health returns OK without authentication', () async { - expect(await client.health.checkStreaming(), isTrue); - }); - }); - - group('connection', () { - test('connect reaches the connected state', () async { - await streaming.connect(); - expect(streaming.isConnected, isTrue); - }); - }); - - group('user stream', () { - test('delivers an update for a status posted over REST', () async { - await streaming.connect(); - final subscription = await streaming.subscribe( - const MastodonStream.user(), - ); - addTearDown(subscription.cancel); - - final marker = 'e2e streaming ${DateTime.now().millisecondsSinceEpoch}'; - final received = subscription.statuses - .firstWhere((status) => status.content.contains(marker)) - .timeout(const Duration(seconds: 60)); - - // 購読が確立してから投稿しないとイベントを取りこぼす - final result = await client.statuses.create( - MastodonStatusCreateRequest(status: marker), - ); - final created = (result as MastodonStatusCreated).status; - addTearDown(() => client.statuses.delete(created.id)); - - expect((await received).id, created.id); - }); - - test('reports a subscription error for an unknown stream', () async { - await streaming.connect(); - - await expectLater( - streaming.subscribeRaw('definitely-not-a-stream'), - throwsA( - isA().having( - (error) => error.status, - 'status', - 400, - ), - ), - ); - }); - }); -} From 7d38ca4e70958b580264bc120cd78d3bd7f653f8 Mon Sep 17 00:00:00 2001 From: librarian <57712678+LibraryLibrarian@users.noreply.github.com> Date: Fri, 9 Oct 2026 12:32:50 +0900 Subject: [PATCH 2/3] =?UTF-8?q?ci:=20=E3=83=86=E3=82=B9=E3=83=88=E3=82=BF?= =?UTF-8?q?=E3=82=B0=E3=81=AE=E9=99=A4=E5=A4=96=E6=8C=87=E5=AE=9A=E3=82=92?= =?UTF-8?q?=E5=89=8A=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 344edae..f2c81cc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,7 +44,7 @@ jobs: run: git diff --exit-code - name: Run tests - run: dart test --exclude-tags e2e + run: dart test - name: Validate package run: dart pub publish --dry-run From cde34cb408707172ff8fab17c9996441248dd8fa Mon Sep 17 00:00:00 2001 From: librarian <57712678+LibraryLibrarian@users.noreply.github.com> Date: Fri, 9 Oct 2026 12:52:26 +0900 Subject: [PATCH 3/3] =?UTF-8?q?test:=20=E3=83=95=E3=82=A3=E3=82=AF?= =?UTF-8?q?=E3=82=B9=E3=83=81=E3=83=A3=E7=94=B1=E6=9D=A5=E3=81=AE=E8=AA=AC?= =?UTF-8?q?=E6=98=8E=E3=82=B3=E3=83=A1=E3=83=B3=E3=83=88=E3=82=92=E4=BB=96?= =?UTF-8?q?=E3=81=AE=E7=AE=87=E6=89=80=E3=81=A8=E5=90=8C=E3=81=98=E8=A1=A8?= =?UTF-8?q?=E8=A8=98=E3=81=AB=E7=B5=B1=E4=B8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude --- test/models/mastodon_instance_test.dart | 2 +- test/models/mastodon_instance_v1_test.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/models/mastodon_instance_test.dart b/test/models/mastodon_instance_test.dart index 3054bf6..3067c6f 100644 --- a/test/models/mastodon_instance_test.dart +++ b/test/models/mastodon_instance_test.dart @@ -24,7 +24,7 @@ void main() { // rules // (サーバールールはWeb管理画面のみで設定可能でREST APIが無いため、 - // 閉域E2E環境では常に空になる) + // 閉域環境では常に空になる) expect(instance.rules, isEmpty); // thumbnail diff --git a/test/models/mastodon_instance_v1_test.dart b/test/models/mastodon_instance_v1_test.dart index 36e57bf..4175976 100644 --- a/test/models/mastodon_instance_v1_test.dart +++ b/test/models/mastodon_instance_v1_test.dart @@ -70,7 +70,7 @@ void main() { // rules // (サーバールールはWeb管理画面のみで設定可能でREST APIが無いため、 - // 閉域E2E環境では常に空になる) + // 閉域環境では常に空になる) expect(instance.rules, isEmpty); }); });