tests: fixed test according the the new scans api

5 jobs for 931-replace-number-of-points-with-number-of-intervals-was-inconsistency-of-scan-commands in 40 minutes and 33 seconds (queued for 1 second)
Status Job ID Name Coverage
  Style
passed #48780
check_style

00:00:19

 
  Tests
passed #49071
run_tests:source

00:38:36

34.0%
failed #48781
run_tests:source

00:01:33

 
  Build
passed #48782
create_doc:reference

00:01:38

passed #48783
create_doc:user

00:01:18