From 858541db1c4ae3db5160237db5091353479d2b94 Mon Sep 17 00:00:00 2001 From: github-actions Date: Thu, 29 Aug 2024 14:03:45 +0100 Subject: [PATCH] test: Fix color on test --- .github/workflows/pull-request.yml | 3 +-- test/src/theme/color_extensions_test.dart | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index bc71019d..fbfd738a 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -1,7 +1,6 @@ name: CI - Pull Request on: - # pull_request_target: - pull_request: + pull_request_target: # Pull Request Runs on the same branch will be cancelled concurrency: diff --git a/test/src/theme/color_extensions_test.dart b/test/src/theme/color_extensions_test.dart index 24d78169..0a5a1385 100644 --- a/test/src/theme/color_extensions_test.dart +++ b/test/src/theme/color_extensions_test.dart @@ -36,7 +36,7 @@ void main() { expect(color.onColor, ZetaPrimitivesLight().pure.shade0); const lightColor = Colors.white; - expect(lightColor.onColor, ZetaPrimitivesLight().warm.shade90); + expect(lightColor.onColor, Colors.black87); }); test('isLight returns true for light colors', () {