aboutsummaryrefslogtreecommitdiff
path: root/internal/postgres/insert_module_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/postgres/insert_module_test.go')
-rw-r--r--internal/postgres/insert_module_test.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/internal/postgres/insert_module_test.go b/internal/postgres/insert_module_test.go
index d5b717d6..49f0552a 100644
--- a/internal/postgres/insert_module_test.go
+++ b/internal/postgres/insert_module_test.go
@@ -121,9 +121,6 @@ func checkModule(ctx context.Context, t *testing.T, want *internal.Module) {
Contents: sample.ReadmeContents,
}
wantu.LicenseContents = sample.Licenses
- if wantu.Package != nil {
- wantu.Name = wantu.Package.Name
- }
opts := cmp.Options{
cmpopts.IgnoreFields(internal.LegacyModuleInfo{}, "LegacyReadmeFilePath"),
cmpopts.IgnoreFields(internal.LegacyModuleInfo{}, "LegacyReadmeContents"),