You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 4, 2025. It is now read-only.
c.Check(com.Tree.Entries[0].LicenceSHA, chk.Equals, "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855") // e3b... is the SHA256 for the "Not specified" licence option
c.Check(com.Tree.Entries[0].LicenceSHA, chk.Equals, "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855") // e3b... is the SHA256 for the "Not specified" licence option
@@ -1455,7 +1455,7 @@ func mockServerNewDBPushHandler(w http.ResponseWriter, r *http.Request) {
1455
1455
e.LicenceSHA="e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"// SHA256 of "Not specified" licence
1456
1456
e.Name=hdr.Filename
1457
1457
e.Sha256=shaSum
1458
-
e.Size=int(numBytes)
1458
+
e.Size=numBytes
1459
1459
vartdbTree
1460
1460
t.Entries=append(t.Entries, e)
1461
1461
t.ID=createDBTreeID(t.Entries)
@@ -1482,7 +1482,7 @@ func mockServerNewDBPushHandler(w http.ResponseWriter, r *http.Request) {
1482
1482
Public: false,
1483
1483
RepoModified: lastMod.UTC().Format(time.RFC3339),
1484
1484
SHA256: expected["dbshasum"],
1485
-
Size: int(numBytes),
1485
+
Size: numBytes,
1486
1486
Type: "database",
1487
1487
URL: fmt.Sprintf("%s/default/%s?commit=%s&branch=%s", cloud, hdr.Filename, newCom.ID, expected["branch"]), // TODO: Is this the right URL, or is it supposed to be the user defined source URL?
0 commit comments