Skip to content

Commit

Permalink
tests: add mising go:build unit (#2796)
Browse files Browse the repository at this point in the history
  • Loading branch information
gssbzn committed Mar 22, 2024
1 parent 64d88c4 commit 5c59e8e
Show file tree
Hide file tree
Showing 50 changed files with 98 additions and 9 deletions.
2 changes: 2 additions & 0 deletions internal/cli/atlas/backup/compliancepolicy/describe_test.go
Expand Up @@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build unit

package compliancepolicy

import (
Expand Down
2 changes: 2 additions & 0 deletions internal/cli/atlas/backup/compliancepolicy/enable_test.go
Expand Up @@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build unit

package compliancepolicy

import (
Expand Down
Expand Up @@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build unit

package pointintimerestore

import (
Expand Down
Expand Up @@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build unit

package ondemand

import (
Expand Down
Expand Up @@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build unit

package ondemand

import (
Expand Down
Expand Up @@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build unit

package ondemand

import (
Expand Down
Expand Up @@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build unit

package scheduled

import (
Expand Down
Expand Up @@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build unit

package scheduled

import (
Expand Down
2 changes: 2 additions & 0 deletions internal/cli/atlas/backup/compliancepolicy/setup_test.go
Expand Up @@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build unit

package compliancepolicy

import (
Expand Down
2 changes: 2 additions & 0 deletions internal/cli/atlas/backup/exports/buckets/buckets_test.go
Expand Up @@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build unit

package buckets

import (
Expand Down
2 changes: 2 additions & 0 deletions internal/cli/atlas/backup/exports/buckets/create_test.go
Expand Up @@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build unit

package buckets

import (
Expand Down
2 changes: 2 additions & 0 deletions internal/cli/atlas/backup/exports/buckets/list_test.go
Expand Up @@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build unit

package buckets

import (
Expand Down
2 changes: 2 additions & 0 deletions internal/cli/atlas/backup/exports/jobs/create_test.go
Expand Up @@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build unit

package jobs

import (
Expand Down
2 changes: 2 additions & 0 deletions internal/cli/atlas/backup/exports/jobs/describe_test.go
Expand Up @@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build unit

package jobs

import (
Expand Down
2 changes: 2 additions & 0 deletions internal/cli/atlas/backup/exports/jobs/list_test.go
Expand Up @@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build unit

package jobs

import (
Expand Down
2 changes: 2 additions & 0 deletions internal/cli/atlas/backup/restores/restores_test.go
Expand Up @@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build unit

package restores

import (
Expand Down
2 changes: 2 additions & 0 deletions internal/cli/atlas/backup/schedule/delete_test.go
Expand Up @@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build unit

package schedule

import (
Expand Down
2 changes: 2 additions & 0 deletions internal/cli/atlas/backup/schedule/describe_test.go
Expand Up @@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build unit

package schedule

import (
Expand Down
2 changes: 2 additions & 0 deletions internal/cli/atlas/backup/schedule/schedule_test.go
Expand Up @@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build unit

package schedule

import (
Expand Down
2 changes: 2 additions & 0 deletions internal/cli/atlas/deployments/connect_test.go
Expand Up @@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build unit

package deployments

import (
Expand Down
2 changes: 2 additions & 0 deletions internal/cli/atlas/events/events_test.go
Expand Up @@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build unit

package events

import (
Expand Down
2 changes: 2 additions & 0 deletions internal/cli/atlas/events/list_test.go
Expand Up @@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build unit

package events

import (
Expand Down
2 changes: 2 additions & 0 deletions internal/cli/atlas/events/orgs_list_test.go
Expand Up @@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build unit

package events

import (
Expand Down
2 changes: 2 additions & 0 deletions internal/cli/atlas/events/projects_list_test.go
Expand Up @@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build unit

package events

import (
Expand Down
2 changes: 2 additions & 0 deletions internal/cli/atlas/kubernetes/config/apply_test.go
Expand Up @@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build unit

package config

import (
Expand Down
2 changes: 2 additions & 0 deletions internal/cli/atlas/kubernetes/config/config_test.go
Expand Up @@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build unit

package config

import (
Expand Down
2 changes: 2 additions & 0 deletions internal/cli/atlas/kubernetes/config/generate_test.go
Expand Up @@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build unit

package config

import (
Expand Down
2 changes: 2 additions & 0 deletions internal/cli/atlas/kubernetes/kubernetes_test.go
Expand Up @@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build unit

package kubernetes

import (
Expand Down
2 changes: 2 additions & 0 deletions internal/cli/atlas/kubernetes/operator/install_test.go
Expand Up @@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build unit

package operator

import (
Expand Down
2 changes: 2 additions & 0 deletions internal/cli/atlas/kubernetes/operator/operator_test.go
Expand Up @@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build unit

package operator

import (
Expand Down
2 changes: 2 additions & 0 deletions internal/cli/atlas/search/nodes/delete_test.go
Expand Up @@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build unit

package nodes

import (
Expand Down
2 changes: 2 additions & 0 deletions internal/cli/atlas/search/nodes/list_test.go
Expand Up @@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build unit

package nodes

import (
Expand Down
2 changes: 2 additions & 0 deletions internal/cli/atlas/search/nodes/nodes_test.go
Expand Up @@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build unit

package nodes

import (
Expand Down
Expand Up @@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build unit

package restores

import (
Expand Down
2 changes: 2 additions & 0 deletions internal/cli/atlas/streams/connection/connection_test.go
Expand Up @@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build unit

package connection

import (
Expand Down
2 changes: 2 additions & 0 deletions internal/cli/atlas/streams/connection/create_test.go
Expand Up @@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build unit

package connection

import (
Expand Down
2 changes: 2 additions & 0 deletions internal/cli/atlas/streams/connection/delete_test.go
Expand Up @@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build unit

package connection

import (
Expand Down
2 changes: 2 additions & 0 deletions internal/cli/atlas/streams/connection/describe_test.go
Expand Up @@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build unit

package connection

import (
Expand Down
2 changes: 2 additions & 0 deletions internal/cli/atlas/streams/connection/list_test.go
Expand Up @@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build unit

package connection

import (
Expand Down
2 changes: 2 additions & 0 deletions internal/cli/atlas/streams/connection/update_test.go
Expand Up @@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build unit

package connection

import (
Expand Down
2 changes: 2 additions & 0 deletions internal/cli/atlas/streams/instance/create_test.go
Expand Up @@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build unit

package instance

import (
Expand Down
2 changes: 2 additions & 0 deletions internal/cli/atlas/streams/instance/delete_test.go
Expand Up @@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build unit

package instance

import (
Expand Down
2 changes: 2 additions & 0 deletions internal/cli/atlas/streams/instance/describe_test.go
Expand Up @@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build unit

package instance

import (
Expand Down
2 changes: 2 additions & 0 deletions internal/cli/atlas/streams/instance/instance_test.go
Expand Up @@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build unit

package instance

import (
Expand Down

0 comments on commit 5c59e8e

Please sign in to comment.