Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
shared
1 parent 060560d commit c7b80eeCopy full SHA for c7b80ee
coderd/searchquery/search_test.go
@@ -282,6 +282,36 @@ func TestSearchWorkspace(t *testing.T) {
282
},
283
284
285
+ {
286
+ Name: "SharedTrue",
287
+ Query: "",
288
+ Expected: database.GetWorkspacesParams{
289
+ Shared: sql.NullBool{
290
+ Bool: true,
291
+ Valid: true,
292
+ },
293
294
295
296
+ Name: "SharedFalse",
297
298
299
300
+ Bool: false,
301
302
303
304
305
306
+ Name: "SharedMissing",
307
308
309
310
311
+ Valid: false,
312
313
314
315
316
// Failures
317
{
0 commit comments