apigee / apigee-m10n-drupal

Add monetization features to a Drupal developer portal
https://www.drupal.org/project/apigee_m10n
GNU General Public License v2.0
13 stars 13 forks source link

Set default cache value if cache returns NULL while running test case #449

Closed shishir-intelli closed 9 months ago

shishir-intelli commented 9 months ago

In Drupal 10.1, fixed test-case failing, due to error TypeError: Drupal\apigee_edge_teams\Entity\Team::getCacheMaxAge(): Return value must be of type int, null returned. Set default cache value if cache returns NULL while running test case Originally issue PR https://github.com/apigee/apigee-edge-drupal/pull/917

codecov[bot] commented 9 months ago

Codecov Report

Merging #449 (d7a512b) into 2.x (503a0ec) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##                2.x     #449   +/-   ##
=========================================
  Coverage     49.24%   49.24%           
  Complexity     1997     1997           
=========================================
  Files           200      200           
  Lines          7399     7399           
=========================================
  Hits           3644     3644           
  Misses         3755     3755