1
0
mirror of https://github.com/muety/wakapi.git synced 2023-08-10 21:12:56 +03:00

fix: tests [ci skip]

This commit is contained in:
Ferdinand Mütsch 2021-02-12 23:10:25 +01:00
parent 301cab4be4
commit ef17d06763
2 changed files with 292 additions and 285 deletions

View File

@ -1,86 +1,4 @@
mode: set
github.com/muety/wakapi/models/alias.go:12.32,14.2 1 0
github.com/muety/wakapi/models/alias.go:16.37,17.35 1 0
github.com/muety/wakapi/models/alias.go:22.2,22.14 1 0
github.com/muety/wakapi/models/alias.go:17.35,18.18 1 0
github.com/muety/wakapi/models/alias.go:18.18,20.4 1 0
github.com/muety/wakapi/models/interval.go:39.47,40.23 1 0
github.com/muety/wakapi/models/interval.go:45.2,45.14 1 0
github.com/muety/wakapi/models/interval.go:40.23,41.13 1 0
github.com/muety/wakapi/models/interval.go:41.13,43.4 1 0
github.com/muety/wakapi/models/shared.go:35.52,37.2 1 0
github.com/muety/wakapi/models/shared.go:39.52,42.16 3 0
github.com/muety/wakapi/models/shared.go:45.2,47.12 3 0
github.com/muety/wakapi/models/shared.go:42.16,44.3 1 0
github.com/muety/wakapi/models/shared.go:51.52,57.22 2 0
github.com/muety/wakapi/models/shared.go:73.2,76.12 3 0
github.com/muety/wakapi/models/shared.go:58.14,60.17 2 0
github.com/muety/wakapi/models/shared.go:63.13,65.8 2 0
github.com/muety/wakapi/models/shared.go:66.17,68.8 2 0
github.com/muety/wakapi/models/shared.go:69.10,70.64 1 0
github.com/muety/wakapi/models/shared.go:60.17,62.4 1 0
github.com/muety/wakapi/models/shared.go:79.45,81.2 1 0
github.com/muety/wakapi/models/shared.go:83.51,86.2 2 0
github.com/muety/wakapi/models/shared.go:88.37,91.2 2 0
github.com/muety/wakapi/models/shared.go:93.35,95.2 1 0
github.com/muety/wakapi/models/shared.go:97.34,99.2 1 0
github.com/muety/wakapi/models/language_mapping.go:11.42,13.2 1 0
github.com/muety/wakapi/models/language_mapping.go:15.51,17.2 1 0
github.com/muety/wakapi/models/language_mapping.go:19.52,21.2 1 0
github.com/muety/wakapi/models/models.go:3.14,5.2 0 1
github.com/muety/wakapi/models/summary.go:68.29,70.2 1 1
github.com/muety/wakapi/models/summary.go:72.37,79.2 6 1
github.com/muety/wakapi/models/summary.go:81.35,83.2 1 1
github.com/muety/wakapi/models/summary.go:85.57,93.2 1 1
github.com/muety/wakapi/models/summary.go:106.33,111.26 4 1
github.com/muety/wakapi/models/summary.go:118.2,118.37 1 1
github.com/muety/wakapi/models/summary.go:122.2,125.33 2 1
github.com/muety/wakapi/models/summary.go:111.26,112.30 1 1
github.com/muety/wakapi/models/summary.go:112.30,114.4 1 1
github.com/muety/wakapi/models/summary.go:118.37,120.3 1 0
github.com/muety/wakapi/models/summary.go:125.33,131.3 1 1
github.com/muety/wakapi/models/summary.go:134.45,139.30 3 1
github.com/muety/wakapi/models/summary.go:148.2,148.30 1 1
github.com/muety/wakapi/models/summary.go:139.30,140.47 1 1
github.com/muety/wakapi/models/summary.go:140.47,141.32 1 1
github.com/muety/wakapi/models/summary.go:144.4,144.9 1 1
github.com/muety/wakapi/models/summary.go:141.32,143.5 1 1
github.com/muety/wakapi/models/summary.go:151.73,153.55 2 1
github.com/muety/wakapi/models/summary.go:158.2,158.16 1 1
github.com/muety/wakapi/models/summary.go:153.55,154.31 1 1
github.com/muety/wakapi/models/summary.go:154.31,156.4 1 1
github.com/muety/wakapi/models/summary.go:161.88,163.55 2 1
github.com/muety/wakapi/models/summary.go:171.2,171.16 1 1
github.com/muety/wakapi/models/summary.go:163.55,164.31 1 1
github.com/muety/wakapi/models/summary.go:164.31,165.23 1 1
github.com/muety/wakapi/models/summary.go:168.4,168.46 1 1
github.com/muety/wakapi/models/summary.go:165.23,166.13 1 1
github.com/muety/wakapi/models/summary.go:174.70,176.8 2 1
github.com/muety/wakapi/models/summary.go:179.2,179.10 1 1
github.com/muety/wakapi/models/summary.go:176.8,178.3 1 1
github.com/muety/wakapi/models/summary.go:182.71,183.63 1 1
github.com/muety/wakapi/models/summary.go:223.2,229.10 6 1
github.com/muety/wakapi/models/summary.go:183.63,186.45 2 1
github.com/muety/wakapi/models/summary.go:195.3,195.31 1 1
github.com/muety/wakapi/models/summary.go:202.3,202.31 1 1
github.com/muety/wakapi/models/summary.go:219.3,219.16 1 1
github.com/muety/wakapi/models/summary.go:186.45,187.32 1 1
github.com/muety/wakapi/models/summary.go:192.4,192.14 1 1
github.com/muety/wakapi/models/summary.go:187.32,188.24 1 1
github.com/muety/wakapi/models/summary.go:188.24,190.6 1 1
github.com/muety/wakapi/models/summary.go:195.31,197.60 1 1
github.com/muety/wakapi/models/summary.go:197.60,199.5 1 1
github.com/muety/wakapi/models/summary.go:202.31,204.60 1 1
github.com/muety/wakapi/models/summary.go:204.60,205.55 1 1
github.com/muety/wakapi/models/summary.go:205.55,207.6 1 1
github.com/muety/wakapi/models/summary.go:207.11,215.6 1 1
github.com/muety/wakapi/models/summary.go:232.33,234.2 1 1
github.com/muety/wakapi/models/summary.go:236.43,238.2 1 1
github.com/muety/wakapi/models/summary.go:240.38,242.2 1 1
github.com/muety/wakapi/models/user.go:41.43,44.2 1 0
github.com/muety/wakapi/models/user.go:46.33,50.2 1 0
github.com/muety/wakapi/models/user.go:52.45,54.2 1 0
github.com/muety/wakapi/models/user.go:56.45,58.2 1 0
github.com/muety/wakapi/models/filters.go:16.56,17.16 1 0
github.com/muety/wakapi/models/filters.go:29.2,29.19 1 0
github.com/muety/wakapi/models/filters.go:18.22,19.32 1 0
@ -120,6 +38,89 @@ github.com/muety/wakapi/models/heartbeat.go:72.37,88.2 1 0
github.com/muety/wakapi/models/heartbeat.go:96.41,98.16 2 0
github.com/muety/wakapi/models/heartbeat.go:101.2,102.10 2 0
github.com/muety/wakapi/models/heartbeat.go:98.16,100.3 1 0
github.com/muety/wakapi/models/user.go:41.43,44.2 1 0
github.com/muety/wakapi/models/user.go:46.33,50.2 1 0
github.com/muety/wakapi/models/user.go:52.45,54.2 1 0
github.com/muety/wakapi/models/user.go:56.45,58.2 1 0
github.com/muety/wakapi/models/alias.go:12.32,14.2 1 0
github.com/muety/wakapi/models/alias.go:16.37,17.35 1 0
github.com/muety/wakapi/models/alias.go:22.2,22.14 1 0
github.com/muety/wakapi/models/alias.go:17.35,18.18 1 0
github.com/muety/wakapi/models/alias.go:18.18,20.4 1 0
github.com/muety/wakapi/models/interval.go:39.47,40.23 1 0
github.com/muety/wakapi/models/interval.go:45.2,45.14 1 0
github.com/muety/wakapi/models/interval.go:40.23,41.13 1 0
github.com/muety/wakapi/models/interval.go:41.13,43.4 1 0
github.com/muety/wakapi/models/language_mapping.go:11.42,13.2 1 0
github.com/muety/wakapi/models/language_mapping.go:15.51,17.2 1 0
github.com/muety/wakapi/models/language_mapping.go:19.52,21.2 1 0
github.com/muety/wakapi/models/models.go:3.14,5.2 0 1
github.com/muety/wakapi/models/shared.go:35.52,37.2 1 0
github.com/muety/wakapi/models/shared.go:39.52,42.16 3 0
github.com/muety/wakapi/models/shared.go:45.2,47.12 3 0
github.com/muety/wakapi/models/shared.go:42.16,44.3 1 0
github.com/muety/wakapi/models/shared.go:51.52,57.22 2 0
github.com/muety/wakapi/models/shared.go:73.2,76.12 3 0
github.com/muety/wakapi/models/shared.go:58.14,60.17 2 0
github.com/muety/wakapi/models/shared.go:63.13,65.8 2 0
github.com/muety/wakapi/models/shared.go:66.17,68.8 2 0
github.com/muety/wakapi/models/shared.go:69.10,70.64 1 0
github.com/muety/wakapi/models/shared.go:60.17,62.4 1 0
github.com/muety/wakapi/models/shared.go:79.45,81.2 1 0
github.com/muety/wakapi/models/shared.go:83.51,86.2 2 0
github.com/muety/wakapi/models/shared.go:88.37,91.2 2 0
github.com/muety/wakapi/models/shared.go:93.35,95.2 1 0
github.com/muety/wakapi/models/shared.go:97.34,99.2 1 0
github.com/muety/wakapi/models/summary.go:68.29,70.2 1 1
github.com/muety/wakapi/models/summary.go:72.37,79.2 6 1
github.com/muety/wakapi/models/summary.go:81.35,83.2 1 1
github.com/muety/wakapi/models/summary.go:85.57,93.2 1 1
github.com/muety/wakapi/models/summary.go:95.64,97.2 1 0
github.com/muety/wakapi/models/summary.go:110.33,115.26 4 1
github.com/muety/wakapi/models/summary.go:122.2,122.37 1 1
github.com/muety/wakapi/models/summary.go:126.2,129.33 2 1
github.com/muety/wakapi/models/summary.go:115.26,116.30 1 1
github.com/muety/wakapi/models/summary.go:116.30,118.4 1 1
github.com/muety/wakapi/models/summary.go:122.37,124.3 1 0
github.com/muety/wakapi/models/summary.go:129.33,135.3 1 1
github.com/muety/wakapi/models/summary.go:138.45,143.30 3 1
github.com/muety/wakapi/models/summary.go:152.2,152.30 1 1
github.com/muety/wakapi/models/summary.go:143.30,144.47 1 1
github.com/muety/wakapi/models/summary.go:144.47,145.32 1 1
github.com/muety/wakapi/models/summary.go:148.4,148.9 1 1
github.com/muety/wakapi/models/summary.go:145.32,147.5 1 1
github.com/muety/wakapi/models/summary.go:155.73,157.55 2 1
github.com/muety/wakapi/models/summary.go:162.2,162.16 1 1
github.com/muety/wakapi/models/summary.go:157.55,158.31 1 1
github.com/muety/wakapi/models/summary.go:158.31,160.4 1 1
github.com/muety/wakapi/models/summary.go:165.88,167.55 2 1
github.com/muety/wakapi/models/summary.go:175.2,175.16 1 1
github.com/muety/wakapi/models/summary.go:167.55,168.31 1 1
github.com/muety/wakapi/models/summary.go:168.31,169.23 1 1
github.com/muety/wakapi/models/summary.go:172.4,172.46 1 1
github.com/muety/wakapi/models/summary.go:169.23,170.13 1 1
github.com/muety/wakapi/models/summary.go:178.70,180.8 2 1
github.com/muety/wakapi/models/summary.go:183.2,183.10 1 1
github.com/muety/wakapi/models/summary.go:180.8,182.3 1 1
github.com/muety/wakapi/models/summary.go:186.71,187.63 1 1
github.com/muety/wakapi/models/summary.go:227.2,233.10 6 1
github.com/muety/wakapi/models/summary.go:187.63,190.45 2 1
github.com/muety/wakapi/models/summary.go:199.3,199.31 1 1
github.com/muety/wakapi/models/summary.go:206.3,206.31 1 1
github.com/muety/wakapi/models/summary.go:223.3,223.16 1 1
github.com/muety/wakapi/models/summary.go:190.45,191.32 1 1
github.com/muety/wakapi/models/summary.go:196.4,196.14 1 1
github.com/muety/wakapi/models/summary.go:191.32,192.24 1 1
github.com/muety/wakapi/models/summary.go:192.24,194.6 1 1
github.com/muety/wakapi/models/summary.go:199.31,201.60 1 1
github.com/muety/wakapi/models/summary.go:201.60,203.5 1 1
github.com/muety/wakapi/models/summary.go:206.31,208.60 1 1
github.com/muety/wakapi/models/summary.go:208.60,209.55 1 1
github.com/muety/wakapi/models/summary.go:209.55,211.6 1 1
github.com/muety/wakapi/models/summary.go:211.11,219.6 1 1
github.com/muety/wakapi/models/summary.go:236.33,238.2 1 1
github.com/muety/wakapi/models/summary.go:240.43,242.2 1 1
github.com/muety/wakapi/models/summary.go:244.38,246.2 1 1
github.com/muety/wakapi/models/heartbeats.go:7.31,9.2 1 0
github.com/muety/wakapi/models/heartbeats.go:11.41,13.2 1 0
github.com/muety/wakapi/models/heartbeats.go:15.36,17.2 1 0
@ -130,172 +131,70 @@ github.com/muety/wakapi/models/heartbeats.go:26.18,28.3 1 0
github.com/muety/wakapi/models/heartbeats.go:32.40,34.18 1 0
github.com/muety/wakapi/models/heartbeats.go:37.2,37.24 1 0
github.com/muety/wakapi/models/heartbeats.go:34.18,36.3 1 0
github.com/muety/wakapi/config/config.go:101.70,103.2 1 0
github.com/muety/wakapi/config/config.go:105.65,107.2 1 0
github.com/muety/wakapi/config/config.go:109.82,119.2 1 0
github.com/muety/wakapi/config/config.go:121.31,123.2 1 0
github.com/muety/wakapi/config/config.go:125.32,127.2 1 0
github.com/muety/wakapi/config/config.go:129.74,130.19 1 0
github.com/muety/wakapi/config/config.go:131.10,132.34 1 0
github.com/muety/wakapi/config/config.go:132.34,141.4 8 0
github.com/muety/wakapi/config/config.go:145.73,146.33 1 0
github.com/muety/wakapi/config/config.go:146.33,154.17 5 0
github.com/muety/wakapi/config/config.go:158.3,159.13 2 0
github.com/muety/wakapi/config/config.go:154.17,156.4 1 0
github.com/muety/wakapi/config/config.go:163.50,164.19 1 0
github.com/muety/wakapi/config/config.go:177.2,177.12 1 0
github.com/muety/wakapi/config/config.go:165.23,169.5 1 0
github.com/muety/wakapi/config/config.go:170.26,173.5 1 0
github.com/muety/wakapi/config/config.go:174.24,175.48 1 0
github.com/muety/wakapi/config/config.go:180.53,190.2 1 1
github.com/muety/wakapi/config/config.go:192.56,194.16 2 1
github.com/muety/wakapi/config/config.go:198.2,205.3 1 1
github.com/muety/wakapi/config/config.go:194.16,196.3 1 0
github.com/muety/wakapi/config/config.go:208.54,210.2 1 1
github.com/muety/wakapi/config/config.go:212.60,214.2 1 0
github.com/muety/wakapi/config/config.go:216.59,218.2 1 0
github.com/muety/wakapi/config/config.go:220.57,222.2 1 0
github.com/muety/wakapi/config/config.go:224.53,226.2 1 0
github.com/muety/wakapi/config/config.go:228.29,230.2 1 1
github.com/muety/wakapi/config/config.go:232.27,234.16 2 0
github.com/muety/wakapi/config/config.go:237.2,240.16 3 0
github.com/muety/wakapi/config/config.go:244.2,244.41 1 0
github.com/muety/wakapi/config/config.go:234.16,236.3 1 0
github.com/muety/wakapi/config/config.go:240.16,242.3 1 0
github.com/muety/wakapi/config/config.go:247.48,259.16 3 0
github.com/muety/wakapi/config/config.go:262.2,264.16 3 0
github.com/muety/wakapi/config/config.go:268.2,268.55 1 0
github.com/muety/wakapi/config/config.go:272.2,272.15 1 0
github.com/muety/wakapi/config/config.go:259.16,261.3 1 0
github.com/muety/wakapi/config/config.go:264.16,266.3 1 0
github.com/muety/wakapi/config/config.go:268.55,270.3 1 0
github.com/muety/wakapi/config/config.go:275.38,276.43 1 0
github.com/muety/wakapi/config/config.go:279.2,279.15 1 0
github.com/muety/wakapi/config/config.go:276.43,278.3 1 0
github.com/muety/wakapi/config/config.go:282.45,283.27 1 0
github.com/muety/wakapi/config/config.go:286.2,286.15 1 0
github.com/muety/wakapi/config/config.go:283.27,285.3 1 0
github.com/muety/wakapi/config/config.go:289.26,291.2 1 0
github.com/muety/wakapi/config/config.go:293.20,295.2 1 0
github.com/muety/wakapi/config/config.go:297.21,302.96 3 0
github.com/muety/wakapi/config/config.go:306.2,314.52 5 0
github.com/muety/wakapi/config/config.go:318.2,318.47 1 0
github.com/muety/wakapi/config/config.go:324.2,324.70 1 0
github.com/muety/wakapi/config/config.go:328.2,328.28 1 0
github.com/muety/wakapi/config/config.go:332.2,333.14 2 0
github.com/muety/wakapi/config/config.go:302.96,304.3 1 0
github.com/muety/wakapi/config/config.go:314.52,316.3 1 0
github.com/muety/wakapi/config/config.go:318.47,319.14 1 0
github.com/muety/wakapi/config/config.go:319.14,321.4 1 0
github.com/muety/wakapi/config/config.go:324.70,326.3 1 0
github.com/muety/wakapi/config/config.go:328.28,330.3 1 0
github.com/muety/wakapi/config/config.go:102.70,104.2 1 0
github.com/muety/wakapi/config/config.go:106.65,108.2 1 0
github.com/muety/wakapi/config/config.go:110.82,120.2 1 0
github.com/muety/wakapi/config/config.go:122.31,124.2 1 0
github.com/muety/wakapi/config/config.go:126.32,128.2 1 0
github.com/muety/wakapi/config/config.go:130.74,131.19 1 0
github.com/muety/wakapi/config/config.go:132.10,133.34 1 0
github.com/muety/wakapi/config/config.go:133.34,142.4 8 0
github.com/muety/wakapi/config/config.go:146.73,147.33 1 0
github.com/muety/wakapi/config/config.go:147.33,155.17 5 0
github.com/muety/wakapi/config/config.go:159.3,160.13 2 0
github.com/muety/wakapi/config/config.go:155.17,157.4 1 0
github.com/muety/wakapi/config/config.go:164.50,165.19 1 0
github.com/muety/wakapi/config/config.go:178.2,178.12 1 0
github.com/muety/wakapi/config/config.go:166.23,170.5 1 0
github.com/muety/wakapi/config/config.go:171.26,174.5 1 0
github.com/muety/wakapi/config/config.go:175.24,176.48 1 0
github.com/muety/wakapi/config/config.go:181.53,191.2 1 1
github.com/muety/wakapi/config/config.go:193.56,195.16 2 1
github.com/muety/wakapi/config/config.go:199.2,206.3 1 1
github.com/muety/wakapi/config/config.go:195.16,197.3 1 0
github.com/muety/wakapi/config/config.go:209.54,211.2 1 1
github.com/muety/wakapi/config/config.go:213.60,215.2 1 0
github.com/muety/wakapi/config/config.go:217.59,219.2 1 0
github.com/muety/wakapi/config/config.go:221.57,223.2 1 0
github.com/muety/wakapi/config/config.go:225.53,227.2 1 0
github.com/muety/wakapi/config/config.go:229.29,231.2 1 1
github.com/muety/wakapi/config/config.go:233.27,235.16 2 0
github.com/muety/wakapi/config/config.go:238.2,241.16 3 0
github.com/muety/wakapi/config/config.go:245.2,245.41 1 0
github.com/muety/wakapi/config/config.go:235.16,237.3 1 0
github.com/muety/wakapi/config/config.go:241.16,243.3 1 0
github.com/muety/wakapi/config/config.go:248.48,260.16 3 0
github.com/muety/wakapi/config/config.go:263.2,265.16 3 0
github.com/muety/wakapi/config/config.go:269.2,269.55 1 0
github.com/muety/wakapi/config/config.go:273.2,273.15 1 0
github.com/muety/wakapi/config/config.go:260.16,262.3 1 0
github.com/muety/wakapi/config/config.go:265.16,267.3 1 0
github.com/muety/wakapi/config/config.go:269.55,271.3 1 0
github.com/muety/wakapi/config/config.go:276.38,277.43 1 0
github.com/muety/wakapi/config/config.go:280.2,280.15 1 0
github.com/muety/wakapi/config/config.go:277.43,279.3 1 0
github.com/muety/wakapi/config/config.go:283.45,284.27 1 0
github.com/muety/wakapi/config/config.go:287.2,287.15 1 0
github.com/muety/wakapi/config/config.go:284.27,286.3 1 0
github.com/muety/wakapi/config/config.go:290.26,292.2 1 0
github.com/muety/wakapi/config/config.go:294.20,296.2 1 0
github.com/muety/wakapi/config/config.go:298.21,303.96 3 0
github.com/muety/wakapi/config/config.go:307.2,315.52 5 0
github.com/muety/wakapi/config/config.go:319.2,319.47 1 0
github.com/muety/wakapi/config/config.go:325.2,325.70 1 0
github.com/muety/wakapi/config/config.go:329.2,329.28 1 0
github.com/muety/wakapi/config/config.go:333.2,334.14 2 0
github.com/muety/wakapi/config/config.go:303.96,305.3 1 0
github.com/muety/wakapi/config/config.go:315.52,317.3 1 0
github.com/muety/wakapi/config/config.go:319.47,320.14 1 0
github.com/muety/wakapi/config/config.go:320.14,322.4 1 0
github.com/muety/wakapi/config/config.go:325.70,327.3 1 0
github.com/muety/wakapi/config/config.go:329.28,331.3 1 0
github.com/muety/wakapi/config/utils.go:5.78,7.22 2 0
github.com/muety/wakapi/config/utils.go:13.2,13.11 1 0
github.com/muety/wakapi/config/utils.go:7.22,8.18 1 0
github.com/muety/wakapi/config/utils.go:11.3,11.12 1 0
github.com/muety/wakapi/config/utils.go:8.18,10.4 1 0
github.com/muety/wakapi/utils/auth.go:16.79,18.54 2 0
github.com/muety/wakapi/utils/auth.go:22.2,24.16 3 0
github.com/muety/wakapi/utils/auth.go:28.2,30.45 3 0
github.com/muety/wakapi/utils/auth.go:33.2,34.32 2 0
github.com/muety/wakapi/utils/auth.go:18.54,20.3 1 0
github.com/muety/wakapi/utils/auth.go:24.16,26.3 1 0
github.com/muety/wakapi/utils/auth.go:30.45,32.3 1 0
github.com/muety/wakapi/utils/auth.go:37.65,39.85 2 0
github.com/muety/wakapi/utils/auth.go:43.2,44.30 2 0
github.com/muety/wakapi/utils/auth.go:39.85,41.3 1 0
github.com/muety/wakapi/utils/auth.go:47.94,49.16 2 0
github.com/muety/wakapi/utils/auth.go:53.2,53.107 1 0
github.com/muety/wakapi/utils/auth.go:57.2,57.22 1 0
github.com/muety/wakapi/utils/auth.go:49.16,51.3 1 0
github.com/muety/wakapi/utils/auth.go:53.107,55.3 1 0
github.com/muety/wakapi/utils/auth.go:60.56,64.2 3 0
github.com/muety/wakapi/utils/auth.go:66.55,69.16 3 0
github.com/muety/wakapi/utils/auth.go:72.2,72.16 1 0
github.com/muety/wakapi/utils/auth.go:69.16,71.3 1 0
github.com/muety/wakapi/utils/filesystem.go:14.68,16.16 2 0
github.com/muety/wakapi/utils/filesystem.go:20.2,21.15 2 0
github.com/muety/wakapi/utils/filesystem.go:33.2,33.15 1 0
github.com/muety/wakapi/utils/filesystem.go:16.16,18.3 1 0
github.com/muety/wakapi/utils/filesystem.go:21.15,23.47 2 0
github.com/muety/wakapi/utils/filesystem.go:23.47,25.23 2 0
github.com/muety/wakapi/utils/filesystem.go:29.4,29.19 1 0
github.com/muety/wakapi/utils/filesystem.go:25.23,27.5 1 0
github.com/muety/wakapi/utils/summary.go:10.66,11.40 1 0
github.com/muety/wakapi/utils/summary.go:16.2,16.48 1 0
github.com/muety/wakapi/utils/summary.go:11.40,12.27 1 0
github.com/muety/wakapi/utils/summary.go:12.27,14.4 1 0
github.com/muety/wakapi/utils/summary.go:19.67,22.2 2 0
github.com/muety/wakapi/utils/summary.go:24.74,26.16 2 0
github.com/muety/wakapi/utils/summary.go:29.2,29.32 1 0
github.com/muety/wakapi/utils/summary.go:26.16,28.3 1 0
github.com/muety/wakapi/utils/summary.go:32.84,35.18 2 0
github.com/muety/wakapi/utils/summary.go:70.2,70.22 1 0
github.com/muety/wakapi/utils/summary.go:36.28,37.24 1 0
github.com/muety/wakapi/utils/summary.go:38.32,40.22 2 0
github.com/muety/wakapi/utils/summary.go:41.31,42.23 1 0
github.com/muety/wakapi/utils/summary.go:43.31,45.21 2 0
github.com/muety/wakapi/utils/summary.go:46.32,47.24 1 0
github.com/muety/wakapi/utils/summary.go:48.32,50.22 2 0
github.com/muety/wakapi/utils/summary.go:51.31,52.23 1 0
github.com/muety/wakapi/utils/summary.go:53.32,54.42 1 0
github.com/muety/wakapi/utils/summary.go:55.41,57.40 2 0
github.com/muety/wakapi/utils/summary.go:58.33,59.43 1 0
github.com/muety/wakapi/utils/summary.go:60.33,61.43 1 0
github.com/muety/wakapi/utils/summary.go:62.35,63.43 1 0
github.com/muety/wakapi/utils/summary.go:64.26,65.21 1 0
github.com/muety/wakapi/utils/summary.go:66.10,67.39 1 0
github.com/muety/wakapi/utils/summary.go:73.73,80.56 5 0
github.com/muety/wakapi/utils/summary.go:96.2,103.8 2 0
github.com/muety/wakapi/utils/summary.go:80.56,82.3 1 0
github.com/muety/wakapi/utils/summary.go:82.8,82.54 1 0
github.com/muety/wakapi/utils/summary.go:82.54,84.3 1 0
github.com/muety/wakapi/utils/summary.go:84.8,86.17 2 0
github.com/muety/wakapi/utils/summary.go:90.3,91.17 2 0
github.com/muety/wakapi/utils/summary.go:86.17,88.4 1 0
github.com/muety/wakapi/utils/summary.go:91.17,93.4 1 0
github.com/muety/wakapi/utils/template.go:8.41,10.16 2 0
github.com/muety/wakapi/utils/template.go:13.2,13.23 1 0
github.com/muety/wakapi/utils/template.go:10.16,12.3 1 0
github.com/muety/wakapi/utils/template.go:16.37,17.30 1 0
github.com/muety/wakapi/utils/template.go:20.2,20.10 1 0
github.com/muety/wakapi/utils/template.go:17.30,19.3 1 0
github.com/muety/wakapi/utils/color.go:8.90,10.32 2 0
github.com/muety/wakapi/utils/color.go:15.2,15.15 1 0
github.com/muety/wakapi/utils/color.go:10.32,11.50 1 0
github.com/muety/wakapi/utils/color.go:11.50,13.4 1 0
github.com/muety/wakapi/utils/common.go:10.48,12.2 1 0
github.com/muety/wakapi/utils/common.go:14.40,16.2 1 0
github.com/muety/wakapi/utils/common.go:18.45,20.2 1 0
github.com/muety/wakapi/utils/common.go:22.24,24.2 1 0
github.com/muety/wakapi/utils/common.go:26.56,29.45 3 1
github.com/muety/wakapi/utils/common.go:32.2,32.40 1 1
github.com/muety/wakapi/utils/common.go:29.45,31.3 1 1
github.com/muety/wakapi/utils/date.go:8.31,10.2 1 0
github.com/muety/wakapi/utils/date.go:12.43,14.2 1 0
github.com/muety/wakapi/utils/date.go:16.30,20.2 3 0
github.com/muety/wakapi/utils/date.go:22.31,25.2 2 0
github.com/muety/wakapi/utils/date.go:27.30,30.2 2 0
github.com/muety/wakapi/utils/date.go:32.67,35.33 2 0
github.com/muety/wakapi/utils/date.go:44.2,44.18 1 0
github.com/muety/wakapi/utils/date.go:35.33,37.19 2 0
github.com/muety/wakapi/utils/date.go:40.3,41.10 2 0
github.com/muety/wakapi/utils/date.go:37.19,39.4 1 0
github.com/muety/wakapi/utils/date.go:47.50,53.2 5 0
github.com/muety/wakapi/utils/date.go:56.79,59.36 3 0
github.com/muety/wakapi/utils/date.go:63.2,63.21 1 0
github.com/muety/wakapi/utils/date.go:67.2,67.21 1 0
github.com/muety/wakapi/utils/date.go:71.2,71.13 1 0
github.com/muety/wakapi/utils/date.go:59.36,62.3 2 0
github.com/muety/wakapi/utils/date.go:63.21,66.3 2 0
github.com/muety/wakapi/utils/date.go:67.21,70.3 2 0
github.com/muety/wakapi/utils/http.go:9.73,12.58 3 0
github.com/muety/wakapi/utils/http.go:12.58,14.3 1 0
github.com/muety/wakapi/utils/strings.go:8.34,10.2 1 0
github.com/muety/wakapi/utils/strings.go:12.77,13.29 1 0
github.com/muety/wakapi/utils/strings.go:18.2,18.19 1 0
github.com/muety/wakapi/utils/strings.go:13.29,14.18 1 0
github.com/muety/wakapi/utils/strings.go:14.18,16.4 1 0
github.com/muety/wakapi/middlewares/authenticate.go:20.91,26.2 1 1
github.com/muety/wakapi/middlewares/authenticate.go:28.90,31.2 2 0
github.com/muety/wakapi/middlewares/authenticate.go:33.90,36.2 2 0
@ -355,6 +254,135 @@ github.com/muety/wakapi/middlewares/logging.go:134.36,136.2 1 0
github.com/muety/wakapi/middlewares/logging.go:137.42,139.2 1 0
github.com/muety/wakapi/middlewares/logging.go:140.40,142.2 1 0
github.com/muety/wakapi/middlewares/logging.go:143.52,145.2 1 0
github.com/muety/wakapi/utils/auth.go:16.79,18.54 2 0
github.com/muety/wakapi/utils/auth.go:22.2,24.16 3 0
github.com/muety/wakapi/utils/auth.go:28.2,30.45 3 0
github.com/muety/wakapi/utils/auth.go:33.2,34.32 2 0
github.com/muety/wakapi/utils/auth.go:18.54,20.3 1 0
github.com/muety/wakapi/utils/auth.go:24.16,26.3 1 0
github.com/muety/wakapi/utils/auth.go:30.45,32.3 1 0
github.com/muety/wakapi/utils/auth.go:37.65,39.85 2 0
github.com/muety/wakapi/utils/auth.go:43.2,44.30 2 0
github.com/muety/wakapi/utils/auth.go:39.85,41.3 1 0
github.com/muety/wakapi/utils/auth.go:47.94,49.16 2 0
github.com/muety/wakapi/utils/auth.go:53.2,53.107 1 0
github.com/muety/wakapi/utils/auth.go:57.2,57.22 1 0
github.com/muety/wakapi/utils/auth.go:49.16,51.3 1 0
github.com/muety/wakapi/utils/auth.go:53.107,55.3 1 0
github.com/muety/wakapi/utils/auth.go:60.56,64.2 3 0
github.com/muety/wakapi/utils/auth.go:66.55,69.16 3 0
github.com/muety/wakapi/utils/auth.go:72.2,72.16 1 0
github.com/muety/wakapi/utils/auth.go:69.16,71.3 1 0
github.com/muety/wakapi/utils/color.go:8.90,10.32 2 0
github.com/muety/wakapi/utils/color.go:15.2,15.15 1 0
github.com/muety/wakapi/utils/color.go:10.32,11.50 1 0
github.com/muety/wakapi/utils/color.go:11.50,13.4 1 0
github.com/muety/wakapi/utils/date.go:8.31,10.2 1 0
github.com/muety/wakapi/utils/date.go:12.43,14.2 1 0
github.com/muety/wakapi/utils/date.go:16.30,20.2 3 0
github.com/muety/wakapi/utils/date.go:22.31,25.2 2 0
github.com/muety/wakapi/utils/date.go:27.30,30.2 2 0
github.com/muety/wakapi/utils/date.go:32.67,35.33 2 0
github.com/muety/wakapi/utils/date.go:44.2,44.18 1 0
github.com/muety/wakapi/utils/date.go:35.33,37.19 2 0
github.com/muety/wakapi/utils/date.go:40.3,41.10 2 0
github.com/muety/wakapi/utils/date.go:37.19,39.4 1 0
github.com/muety/wakapi/utils/date.go:47.50,53.2 5 0
github.com/muety/wakapi/utils/date.go:56.79,59.36 3 0
github.com/muety/wakapi/utils/date.go:63.2,63.21 1 0
github.com/muety/wakapi/utils/date.go:67.2,67.21 1 0
github.com/muety/wakapi/utils/date.go:71.2,71.13 1 0
github.com/muety/wakapi/utils/date.go:59.36,62.3 2 0
github.com/muety/wakapi/utils/date.go:63.21,66.3 2 0
github.com/muety/wakapi/utils/date.go:67.21,70.3 2 0
github.com/muety/wakapi/utils/strings.go:8.34,10.2 1 0
github.com/muety/wakapi/utils/strings.go:12.77,13.29 1 0
github.com/muety/wakapi/utils/strings.go:18.2,18.19 1 0
github.com/muety/wakapi/utils/strings.go:13.29,14.18 1 0
github.com/muety/wakapi/utils/strings.go:14.18,16.4 1 0
github.com/muety/wakapi/utils/template.go:8.41,10.16 2 0
github.com/muety/wakapi/utils/template.go:13.2,13.23 1 0
github.com/muety/wakapi/utils/template.go:10.16,12.3 1 0
github.com/muety/wakapi/utils/template.go:16.37,17.30 1 0
github.com/muety/wakapi/utils/template.go:20.2,20.10 1 0
github.com/muety/wakapi/utils/template.go:17.30,19.3 1 0
github.com/muety/wakapi/utils/common.go:10.48,12.2 1 0
github.com/muety/wakapi/utils/common.go:14.40,16.2 1 0
github.com/muety/wakapi/utils/common.go:18.45,20.2 1 0
github.com/muety/wakapi/utils/common.go:22.24,24.2 1 0
github.com/muety/wakapi/utils/common.go:26.56,29.45 3 1
github.com/muety/wakapi/utils/common.go:32.2,32.40 1 1
github.com/muety/wakapi/utils/common.go:29.45,31.3 1 1
github.com/muety/wakapi/utils/filesystem.go:14.68,16.16 2 0
github.com/muety/wakapi/utils/filesystem.go:20.2,21.15 2 0
github.com/muety/wakapi/utils/filesystem.go:33.2,33.15 1 0
github.com/muety/wakapi/utils/filesystem.go:16.16,18.3 1 0
github.com/muety/wakapi/utils/filesystem.go:21.15,23.47 2 0
github.com/muety/wakapi/utils/filesystem.go:23.47,25.23 2 0
github.com/muety/wakapi/utils/filesystem.go:29.4,29.19 1 0
github.com/muety/wakapi/utils/filesystem.go:25.23,27.5 1 0
github.com/muety/wakapi/utils/http.go:9.73,12.58 3 0
github.com/muety/wakapi/utils/http.go:12.58,14.3 1 0
github.com/muety/wakapi/utils/summary.go:10.66,11.40 1 0
github.com/muety/wakapi/utils/summary.go:16.2,16.48 1 0
github.com/muety/wakapi/utils/summary.go:11.40,12.27 1 0
github.com/muety/wakapi/utils/summary.go:12.27,14.4 1 0
github.com/muety/wakapi/utils/summary.go:19.67,22.2 2 0
github.com/muety/wakapi/utils/summary.go:24.74,26.16 2 0
github.com/muety/wakapi/utils/summary.go:29.2,29.32 1 0
github.com/muety/wakapi/utils/summary.go:26.16,28.3 1 0
github.com/muety/wakapi/utils/summary.go:32.84,35.18 2 0
github.com/muety/wakapi/utils/summary.go:70.2,70.22 1 0
github.com/muety/wakapi/utils/summary.go:36.28,37.24 1 0
github.com/muety/wakapi/utils/summary.go:38.32,40.22 2 0
github.com/muety/wakapi/utils/summary.go:41.31,42.23 1 0
github.com/muety/wakapi/utils/summary.go:43.31,45.21 2 0
github.com/muety/wakapi/utils/summary.go:46.32,47.24 1 0
github.com/muety/wakapi/utils/summary.go:48.32,50.22 2 0
github.com/muety/wakapi/utils/summary.go:51.31,52.23 1 0
github.com/muety/wakapi/utils/summary.go:53.32,54.42 1 0
github.com/muety/wakapi/utils/summary.go:55.41,57.40 2 0
github.com/muety/wakapi/utils/summary.go:58.33,59.43 1 0
github.com/muety/wakapi/utils/summary.go:60.33,61.43 1 0
github.com/muety/wakapi/utils/summary.go:62.35,63.43 1 0
github.com/muety/wakapi/utils/summary.go:64.26,65.21 1 0
github.com/muety/wakapi/utils/summary.go:66.10,67.39 1 0
github.com/muety/wakapi/utils/summary.go:73.73,80.56 5 0
github.com/muety/wakapi/utils/summary.go:96.2,103.8 2 0
github.com/muety/wakapi/utils/summary.go:80.56,82.3 1 0
github.com/muety/wakapi/utils/summary.go:82.8,82.54 1 0
github.com/muety/wakapi/utils/summary.go:82.54,84.3 1 0
github.com/muety/wakapi/utils/summary.go:84.8,86.17 2 0
github.com/muety/wakapi/utils/summary.go:90.3,91.17 2 0
github.com/muety/wakapi/utils/summary.go:86.17,88.4 1 0
github.com/muety/wakapi/utils/summary.go:91.17,93.4 1 0
github.com/muety/wakapi/services/user.go:19.73,25.2 1 0
github.com/muety/wakapi/services/user.go:27.74,28.40 1 0
github.com/muety/wakapi/services/user.go:32.2,33.16 2 0
github.com/muety/wakapi/services/user.go:37.2,38.15 2 0
github.com/muety/wakapi/services/user.go:28.40,30.3 1 0
github.com/muety/wakapi/services/user.go:33.16,35.3 1 0
github.com/muety/wakapi/services/user.go:41.72,42.37 1 0
github.com/muety/wakapi/services/user.go:46.2,47.16 2 0
github.com/muety/wakapi/services/user.go:51.2,52.15 2 0
github.com/muety/wakapi/services/user.go:42.37,44.3 1 0
github.com/muety/wakapi/services/user.go:47.16,49.3 1 0
github.com/muety/wakapi/services/user.go:55.58,57.2 1 0
github.com/muety/wakapi/services/user.go:59.61,63.2 2 0
github.com/muety/wakapi/services/user.go:65.48,67.2 1 0
github.com/muety/wakapi/services/user.go:69.102,77.93 2 0
github.com/muety/wakapi/services/user.go:83.2,83.38 1 0
github.com/muety/wakapi/services/user.go:77.93,79.3 1 0
github.com/muety/wakapi/services/user.go:79.8,81.3 1 0
github.com/muety/wakapi/services/user.go:86.73,89.2 2 0
github.com/muety/wakapi/services/user.go:91.78,95.2 3 0
github.com/muety/wakapi/services/user.go:97.99,100.2 2 0
github.com/muety/wakapi/services/user.go:102.106,105.96 3 0
github.com/muety/wakapi/services/user.go:110.2,110.68 1 0
github.com/muety/wakapi/services/user.go:105.96,107.3 1 0
github.com/muety/wakapi/services/user.go:107.8,109.3 1 0
github.com/muety/wakapi/services/user.go:113.57,116.2 2 0
github.com/muety/wakapi/services/user.go:118.38,120.2 1 0
github.com/muety/wakapi/services/aggregation.go:24.142,31.2 1 0
github.com/muety/wakapi/services/aggregation.go:40.43,42.37 1 0
github.com/muety/wakapi/services/aggregation.go:46.2,48.19 3 0
@ -430,22 +458,6 @@ github.com/muety/wakapi/services/alias.go:95.21,97.4 1 0
github.com/muety/wakapi/services/alias.go:104.31,106.3 1 0
github.com/muety/wakapi/services/alias.go:111.52,112.51 1 0
github.com/muety/wakapi/services/alias.go:112.51,114.3 1 0
github.com/muety/wakapi/services/heartbeat.go:17.141,23.2 1 0
github.com/muety/wakapi/services/heartbeat.go:25.72,27.2 1 0
github.com/muety/wakapi/services/heartbeat.go:29.80,31.2 1 0
github.com/muety/wakapi/services/heartbeat.go:33.53,35.2 1 0
github.com/muety/wakapi/services/heartbeat.go:37.76,39.2 1 0
github.com/muety/wakapi/services/heartbeat.go:41.111,43.16 2 0
github.com/muety/wakapi/services/heartbeat.go:46.2,46.43 1 0
github.com/muety/wakapi/services/heartbeat.go:43.16,45.3 1 0
github.com/muety/wakapi/services/heartbeat.go:49.116,51.2 1 0
github.com/muety/wakapi/services/heartbeat.go:53.78,55.2 1 0
github.com/muety/wakapi/services/heartbeat.go:57.62,59.2 1 0
github.com/muety/wakapi/services/heartbeat.go:61.116,63.16 2 0
github.com/muety/wakapi/services/heartbeat.go:67.2,67.28 1 0
github.com/muety/wakapi/services/heartbeat.go:71.2,71.24 1 0
github.com/muety/wakapi/services/heartbeat.go:63.16,65.3 1 0
github.com/muety/wakapi/services/heartbeat.go:67.28,69.3 1 0
github.com/muety/wakapi/services/key_value.go:14.89,19.2 1 0
github.com/muety/wakapi/services/key_value.go:21.83,23.2 1 0
github.com/muety/wakapi/services/key_value.go:25.78,27.16 2 0
@ -495,6 +507,22 @@ github.com/muety/wakapi/services/misc.go:113.2,116.17 1 0
github.com/muety/wakapi/services/misc.go:101.30,104.3 2 0
github.com/muety/wakapi/services/misc.go:109.17,111.3 1 0
github.com/muety/wakapi/services/misc.go:116.17,118.3 1 0
github.com/muety/wakapi/services/heartbeat.go:17.141,23.2 1 0
github.com/muety/wakapi/services/heartbeat.go:25.72,27.2 1 0
github.com/muety/wakapi/services/heartbeat.go:29.80,31.2 1 0
github.com/muety/wakapi/services/heartbeat.go:33.53,35.2 1 0
github.com/muety/wakapi/services/heartbeat.go:37.76,39.2 1 0
github.com/muety/wakapi/services/heartbeat.go:41.111,43.16 2 0
github.com/muety/wakapi/services/heartbeat.go:46.2,46.43 1 0
github.com/muety/wakapi/services/heartbeat.go:43.16,45.3 1 0
github.com/muety/wakapi/services/heartbeat.go:49.116,51.2 1 0
github.com/muety/wakapi/services/heartbeat.go:53.78,55.2 1 0
github.com/muety/wakapi/services/heartbeat.go:57.62,59.2 1 0
github.com/muety/wakapi/services/heartbeat.go:61.116,63.16 2 0
github.com/muety/wakapi/services/heartbeat.go:67.2,67.28 1 0
github.com/muety/wakapi/services/heartbeat.go:71.2,71.24 1 0
github.com/muety/wakapi/services/heartbeat.go:63.16,65.3 1 0
github.com/muety/wakapi/services/heartbeat.go:67.28,69.3 1 0
github.com/muety/wakapi/services/summary.go:27.149,35.2 1 1
github.com/muety/wakapi/services/summary.go:39.120,42.52 2 1
github.com/muety/wakapi/services/summary.go:47.2,47.44 1 1
@ -584,29 +612,3 @@ github.com/muety/wakapi/services/summary.go:324.54,326.3 1 1
github.com/muety/wakapi/services/summary.go:331.59,333.25 2 1
github.com/muety/wakapi/services/summary.go:336.2,336.32 1 1
github.com/muety/wakapi/services/summary.go:333.25,335.3 1 1
github.com/muety/wakapi/services/user.go:19.73,25.2 1 0
github.com/muety/wakapi/services/user.go:27.74,28.40 1 0
github.com/muety/wakapi/services/user.go:32.2,33.16 2 0
github.com/muety/wakapi/services/user.go:37.2,38.15 2 0
github.com/muety/wakapi/services/user.go:28.40,30.3 1 0
github.com/muety/wakapi/services/user.go:33.16,35.3 1 0
github.com/muety/wakapi/services/user.go:41.72,42.37 1 0
github.com/muety/wakapi/services/user.go:46.2,47.16 2 0
github.com/muety/wakapi/services/user.go:51.2,52.15 2 0
github.com/muety/wakapi/services/user.go:42.37,44.3 1 0
github.com/muety/wakapi/services/user.go:47.16,49.3 1 0
github.com/muety/wakapi/services/user.go:55.58,57.2 1 0
github.com/muety/wakapi/services/user.go:59.48,61.2 1 0
github.com/muety/wakapi/services/user.go:63.102,71.93 2 0
github.com/muety/wakapi/services/user.go:77.2,77.38 1 0
github.com/muety/wakapi/services/user.go:71.93,73.3 1 0
github.com/muety/wakapi/services/user.go:73.8,75.3 1 0
github.com/muety/wakapi/services/user.go:80.73,83.2 2 0
github.com/muety/wakapi/services/user.go:85.78,89.2 3 0
github.com/muety/wakapi/services/user.go:91.99,94.2 2 0
github.com/muety/wakapi/services/user.go:96.106,99.96 3 0
github.com/muety/wakapi/services/user.go:104.2,104.68 1 0
github.com/muety/wakapi/services/user.go:99.96,101.3 1 0
github.com/muety/wakapi/services/user.go:101.8,103.3 1 0
github.com/muety/wakapi/services/user.go:107.57,110.2 2 0
github.com/muety/wakapi/services/user.go:112.38,114.2 1 0

View File

@ -24,6 +24,11 @@ func (m *UserServiceMock) GetAll() ([]*models.User, error) {
return args.Get(0).([]*models.User), args.Error(1)
}
func (m *UserServiceMock) GetActive() ([]*models.User, error) {
args := m.Called()
return args.Get(0).([]*models.User), args.Error(1)
}
func (m *UserServiceMock) Count() (int64, error) {
args := m.Called()
return int64(args.Int(0)), args.Error(1)