@@ -601,25 +601,25 @@ func Test_GetDeploymentId(t *testing.T) {
601601
602602 resp , err := client .GetDeploymentId (ctx )
603603 require .NoError (t , err )
604- require .NotEmpty (t , resp .Id )
604+ require .NotNil (t , resp .Id )
605605
606606 // Verify ID format (assuming it's UUID-like)
607- require .Regexp (t , `^[a-zA-Z0-9\-]+$` , resp .Id , "Deployment ID should be alphanumeric with hyphens" )
607+ require .Regexp (t , `^[a-zA-Z0-9\-]+$` , * resp .Id , "Deployment ID should be alphanumeric with hyphens" )
608608 })
609609 })
610610
611611 t .Run ("Multiple calls consistency" , func (t * testing.T ) {
612612 withContextT (t , time .Minute , func (ctx context.Context , t testing.TB ) {
613613 resp1 , err := client .GetDeploymentId (ctx )
614614 require .NoError (t , err )
615- require .NotEmpty (t , resp1 .Id )
615+ require .NotNil (t , resp1 .Id )
616616
617617 resp2 , err := client .GetDeploymentId (ctx )
618618 require .NoError (t , err )
619- require .NotEmpty (t , resp2 .Id )
619+ require .NotNil (t , resp2 .Id )
620620
621621 // IDs should be consistent across calls
622- require .Equal (t , resp1 .Id , resp2 .Id , "Deployment ID should be consistent across calls" )
622+ require .Equal (t , * resp1 .Id , * resp2 .Id , "Deployment ID should be consistent across calls" )
623623 })
624624 })
625625 })
0 commit comments