lib/ddr/actions/fixity_check.rb in ddr-models-2.9.2 vs lib/ddr/actions/fixity_check.rb in ddr-models-2.10.0.rc1

- old
+ new

@@ -10,10 +10,10 @@ end # Return result of fixity check def self._execute(object) Result.new(pid: object.pid).tap do |r| - object.datastreams_to_validate.each do |dsid, ds| + object.datastreams_having_content.each do |dsid, ds| r.success &&= ds.dsChecksumValid r.results[dsid] = ds.profile end end end