- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 52 for mycompany (0.51 sec)
-
tests/update_test.go
} DB.First(&result, user.ID) if result.Name != "new company name" { t.Errorf("name should be %v, but got %v", user.Company.Name, result.Name) } } func TestIdempotentSave(t *testing.T) { create := Company{ Name: "company_idempotent", } DB.Create(&create) var company Company if err := DB.Find(&company, "id = ?", create.ID).Error; err != nil {
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Mon Dec 04 03:50:58 UTC 2023 - 30.3K bytes - Viewed (0) -
tests/associations_many2many_test.go
{Name: "TestMany2ManyDuplicateBelongsToAssociation-friend-1", Company: Company{ ID: 1, Name: "Test-company-1", }}, }} user2 := User{Name: "TestMany2ManyDuplicateBelongsToAssociation-2", Friends: []*User{ {Name: "TestMany2ManyDuplicateBelongsToAssociation-friend-2", Company: Company{ ID: 1, Name: "Test-company-1", }}, }} users := []*User{&user1, &user2} var err error
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Sat Jun 10 13:05:19 UTC 2023 - 13.2K bytes - Viewed (0) -
schema/schema_test.go
References: []Reference{{"ID", "User", "OwnerID", "Toy", "", true}, {"", "", "OwnerType", "Toy", "users", false}}, }, { Name: "Company", Type: schema.BelongsTo, Schema: "User", FieldSchema: "Company", References: []Reference{{"ID", "Company", "CompanyID", "User", "", false}}, }, { Name: "Manager", Type: schema.BelongsTo, Schema: "User", FieldSchema: "User",
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Fri Dec 15 08:31:23 UTC 2023 - 12.9K bytes - Viewed (0) -
tests/associations_test.go
user := *GetUser("TestAssociationError", Config{Pets: 2, Company: true, Account: true, Languages: 2}) DB.Create(&user) var user1 User DB.Preload("Company").Preload("Pets").Preload("Account").Preload("Languages").First(&user1) var emptyUser User var err error // belongs to err = DB.Model(&emptyUser).Association("Company").Delete(&user1.Company) AssertEqual(t, err, gorm.ErrPrimaryKeyRequired) // has many
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Wed Feb 08 08:29:09 UTC 2023 - 10.9K bytes - Viewed (0) -
pkg/dns/client/dns_test.go
host: "foo.svc.mesh.company.net.", expected: a("foo.svc.mesh.company.net.", []netip.Addr{netip.MustParseAddr("10.1.2.3")}), }, { name: "success: wild card with namespace with domain returns A record correctly", host: "foo.foons.svc.mesh.company.net.", expected: a("foo.foons.svc.mesh.company.net.", []netip.Addr{netip.MustParseAddr("10.1.2.3")}), }, {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Feb 29 16:17:34 UTC 2024 - 20.4K bytes - Viewed (0) -
platforms/software/dependency-management/src/testFixtures/groovy/org/gradle/integtests/resolve/ivy/AbstractIvyRemoteRepoResolveIntegrationTest.groovy
def companyModuleInEmptyRepo = emptyRepo.module('company', 'original', '1.1') def thirdPartyIvyRepo = server.getRemoteIvyRepo(false, "third-party/[organisation]/[module]/[revision]") def thirdPartyModule = thirdPartyIvyRepo.module('other', '3rdParty', '1.2') thirdPartyModule.publish() def companyModuleInThirdPartyRepo = thirdPartyIvyRepo.module('company', 'original', '1.1') and:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 13.9K bytes - Viewed (0) -
platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerPluginClasspathInjectionIntegrationTest.groovy
} """ plugin.file('src/main/resources/META-INF/gradle-plugins/com.company.composite.properties') << """ implementation-class=org.gradle.test.CompositePlugin """ plugin.build() buildFile << """ plugins { id "com.company.composite" } """ when: def result = runner('helloWorld1')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jan 15 03:45:31 UTC 2024 - 13K bytes - Viewed (0) -
platforms/jvm/jacoco/src/integTest/groovy/org/gradle/testing/jacoco/plugins/rules/JacocoPluginCoverageVerificationIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 14 16:03:36 UTC 2023 - 12.9K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/conversion_test.go
} sa := service.ServiceAccounts if sa == nil || len(sa) != 4 { t.Fatalf("number of service accounts is incorrect") } expected := []string{ saC, saD, "spiffe://company.com/ns/default/sa/" + saA, "spiffe://company.com/ns/default/sa/" + saB, } if !reflect.DeepEqual(sa, expected) { t.Fatalf("Unexpected service accounts %v (expecting %v)", sa, expected) } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 12.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/catalog/KotlinDslVersionCatalogExtensionIntegrationTest.groovy
def libA = mavenHttpRepo.module("com.company","libs-a").publish() def libB = mavenHttpRepo.module("com.companylibs","libs-b").publish() settingsKotlinFile << """ dependencyResolutionManagement { versionCatalogs { create("libs") { library("com-company-libs-a", "com.company:libs-a:1.0") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 17K bytes - Viewed (0)